aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-06-11 13:55:31 +0800
committeritetcu <itetcu@FreeBSD.org>2009-06-11 13:55:31 +0800
commit5b83ff2c35d90ed0b2e1a4f72ffcc604280dcbf3 (patch)
treed0846176a5595ecdde7a95256d5be874b952ac37 /devel
parent3b72910a3f64853e642a1a1c3552e8364b1cd18a (diff)
downloadfreebsd-ports-gnome-5b83ff2c35d90ed0b2e1a4f72ffcc604280dcbf3.tar.gz
freebsd-ports-gnome-5b83ff2c35d90ed0b2e1a4f72ffcc604280dcbf3.tar.zst
freebsd-ports-gnome-5b83ff2c35d90ed0b2e1a4f72ffcc604280dcbf3.zip
Fix build with custom LOCALBASE
Reported by: QATty Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/pecl-shape/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/pecl-shape/Makefile b/devel/pecl-shape/Makefile
index 964903369279..ce7a5986ca2a 100644
--- a/devel/pecl-shape/Makefile
+++ b/devel/pecl-shape/Makefile
@@ -23,6 +23,8 @@ USE_PHP_BUILD= yes
USE_PHPEXT= yes
PHP_MODNAME= shp
+CONFIGURE_ARGS+=--with-shp=${LOCALBASE}
+
post-patch:
@${REINPLACE_CMD} -e 's|include/libshp|include|g' ${WRKSRC}/config.m4
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/config.m4