aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
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