summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/nginx-devel/Makefile4
-rw-r--r--www/nginx/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index b20ae5c..e38edcd 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -23,8 +23,8 @@ USE_RC_SUBR= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV+= LINK="${CC}"
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
- --with-cc-opt="-I ${PREFIX}/include" \
- --with-ld-opt="-L ${PREFIX}/lib" \
+ --with-cc-opt="-I ${LOCALBASE}/include" \
+ --with-ld-opt="-L ${LOCALBASE}/lib" \
--conf-path=${PREFIX}/etc/nginx/nginx.conf \
--sbin-path=${PREFIX}/sbin/nginx \
--pid-path=${RUNDIR}/nginx.pid \
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index b20ae5c..e38edcd 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -23,8 +23,8 @@ USE_RC_SUBR= yes
HAS_CONFIGURE= yes
CONFIGURE_ENV+= LINK="${CC}"
CONFIGURE_ARGS= --prefix=${PREFIX}/etc/nginx \
- --with-cc-opt="-I ${PREFIX}/include" \
- --with-ld-opt="-L ${PREFIX}/lib" \
+ --with-cc-opt="-I ${LOCALBASE}/include" \
+ --with-ld-opt="-L ${LOCALBASE}/lib" \
--conf-path=${PREFIX}/etc/nginx/nginx.conf \
--sbin-path=${PREFIX}/sbin/nginx \
--pid-path=${RUNDIR}/nginx.pid \
OpenPOWER on IntegriCloud