New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add postgresql 9.6.1 #2695

Merged
merged 1 commit into from Dec 22, 2016

Conversation

Projects
None yet
2 participants
@pyhalov
Contributor

pyhalov commented Dec 21, 2016

No description provided.

@pyhalov pyhalov force-pushed the pyhalov:postgresql-96 branch from 5954824 to 34c528c Dec 21, 2016

#

#
# Copyright 2012-2013, EveryCity Ltd. All rights reserved.

This comment has been minimized.

@jimklimov

jimklimov Dec 21, 2016

Contributor

Add yours )

COMPONENT_ARCHIVE_URL= http://ftp.postgresql.org/pub/source/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL= http://www.postgresql.org/

include $(WS_TOP)/make-rules/prep.mk

This comment has been minimized.

@jimklimov

jimklimov Dec 21, 2016

Contributor

Use proper macro :) $(WS_MAKE_RULES)


CONFIGURE_SCRIPT= $(@D)/configure

CONFIGURE_OPTIONS = --prefix=/usr/postgres/$(COMPONENT_MJR_VERSION)

This comment has been minimized.

@jimklimov

jimklimov Dec 21, 2016

Contributor

Perhaps build on shared-macros's macros like PG_HOME=$(USRDIR)/$(PG_IMPLEM)/$(PG_VERSION) ?

This comment has been minimized.

@pyhalov

pyhalov Dec 21, 2016

Contributor

Only macros which I can use here, is $(USRDIR), but /usr is more brief :)
Another macros you mention refer default values, used paths - current implementation/version.

CONFIGURE_OPTIONS.64 += --libexecdir=/usr/postgres/$(COMPONENT_MJR_VERSION)/bin
CONFIGURE_OPTIONS.64 += --sbindir=/usr/postgres/$(COMPONENT_MJR_VERSION)/bin
CONFIGURE_OPTIONS.64 += --libdir=/usr/postgres/$(COMPONENT_MJR_VERSION)/lib/$(MACH64)
CONFIGURE_OPTIONS.64 += --with-libs=/lib/$(MACH64):/usr/lib/$(MACH64)

This comment has been minimized.

@jimklimov

jimklimov Dec 21, 2016

Contributor

Collapse 32 and 64-bit cases with $(USRLIBDIR.$(BITS)) and similar stuff?

This comment has been minimized.

@pyhalov

pyhalov Dec 21, 2016

Contributor

perhaps, with-libs is not necessary at all... Let's check.

file.
-->

<service_bundle type='manifest' name='postgresql_95'>

This comment has been minimized.

@jimklimov

jimklimov Dec 21, 2016

Contributor

96 now

<template>
<common_name>
<loctext xml:lang='C'>
PostgreSQL RDBMS version 9.5

This comment has been minimized.

@jimklimov

jimklimov Dec 21, 2016

Contributor

96

COMPONENT_ARCHIVE_URL= http://ftp.postgresql.org/pub/source/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL= http://www.postgresql.org/

include $(WS_TOP)/make-rules/prep.mk

This comment has been minimized.

@jimklimov

jimklimov Dec 21, 2016

Contributor

WS_MAKE_RULES ?

@pyhalov pyhalov force-pushed the pyhalov:postgresql-96 branch from 34c528c to f73754b Dec 21, 2016

@jimklimov

This comment has been minimized.

Contributor

jimklimov commented Dec 22, 2016

LGTM now

@pyhalov pyhalov force-pushed the pyhalov:postgresql-96 branch from f73754b to ed0038b Dec 22, 2016

@pyhalov pyhalov merged commit 637827f into OpenIndiana:oi/hipster Dec 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment