aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-20 23:22:23 +0800
committeradamw <adamw@FreeBSD.org>2014-08-20 23:22:23 +0800
commit79e5910cd5c51da7c629489f533094784b10f3b4 (patch)
treeeac0335927d6df6768fb59d73323a2b92cd88ff2 /databases
parent2e6c8077a3dceb0f18f4eb0ad3ebcb0c29b63d35 (diff)
downloadfreebsd-ports-gnome-79e5910cd5c51da7c629489f533094784b10f3b4.tar.gz
freebsd-ports-gnome-79e5910cd5c51da7c629489f533094784b10f3b4.tar.zst
freebsd-ports-gnome-79e5910cd5c51da7c629489f533094784b10f3b4.zip
Fix build after json-c upgrade, and put parentheses around compound
commands.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgis20/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgis20/Makefile b/databases/postgis20/Makefile
index 240acbffe925..479f55ff9dd0 100644
--- a/databases/postgis20/Makefile
+++ b/databases/postgis20/Makefile
@@ -12,7 +12,7 @@ COMMENT= Geographic objects support for PostgreSQL databases
LICENSE= GPLv2
LIB_DEPENDS= libgeos.so:${PORTSDIR}/graphics/geos \
- libjson.so:${PORTSDIR}/devel/json-c \
+ libjson-c.so:${PORTSDIR}/devel/json-c \
libproj.so:${PORTSDIR}/graphics/proj
CONFLICTS_INSTALL= postgis-1.* postgis-2.1.*
@@ -60,9 +60,9 @@ BROKEN= Raster suppport is broken on FreeBSD < 9.x
post-install:
${MKDIR} ${STAGEDIR}/${DATADIR}/tiger_2010/
- cd ${WRKSRC}/extras/tiger_geocoder/tiger_2010/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/tiger_2010/
+ (cd ${WRKSRC}/extras/tiger_geocoder/tiger_2010/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/tiger_2010/)
${MKDIR} ${STAGEDIR}/${DATADIR}/utils/
- cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/utils/
+ (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}/${DATADIR}/utils/)
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/* ${STAGEDIR}/${PREFIX}/lib/*.so ${STAGEDIR}/${PREFIX}/lib/postgresql/*.so
.include <bsd.port.post.mk>