svn commit: r368475 - head/databases/pgsphere
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Sep 18 15:16:40 UTC 2014
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
More information about the svn-ports-head
mailing list