Date: Thu, 18 Sep 2014 15:16:40 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368475 - head/databases/pgsphere Message-ID: <201409181516.s8IFGexx092298@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Sep 18 15:16:39 2014 New Revision: 368475 URL: http://svnweb.freebsd.org/changeset/ports/368475 QAT: https://qat.redports.org/buildarchive/r368475/ Log: - Fix build - Strip shared library Modified: head/databases/pgsphere/Makefile Modified: head/databases/pgsphere/Makefile ============================================================================== --- head/databases/pgsphere/Makefile Thu Sep 18 15:15:39 2014 (r368474) +++ head/databases/pgsphere/Makefile Thu Sep 18 15:16:39 2014 (r368475) @@ -15,7 +15,9 @@ LICENSE= BSD3CLAUSE OPTIONS_DEFINE= DOCS -MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 docdir=${DOCSDIR} +MAKE_ARGS= PG_CONFIG=${LOCALBASE}/bin/pg_config USE_PGXS=1 \ + docdir=${DOCSDIR} \ + install_bin=/usr/bin/install USE_LDCONFIG= yes USES= gmake pgsql @@ -30,6 +32,12 @@ DOCS_PLIST_DIRS= %%DOCSDIR%%/contrib DOCS_PLIST_FILES= %%DOCSDIR%%/contrib/README.pg_sphere \ %%DOCSDIR%%/contrib/COPYRIGHT.pg_sphere +post-patch: + @${REINPLACE_CMD} -e 's|int4|int32|g' ${WRKSRC}/line.c ${WRKSRC}/line.h + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_sphere.so + regression-test test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} installcheck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409181516.s8IFGexx092298>