aboutsummaryrefslogtreecommitdiffstats
path: root/www/libxul
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2010-10-26 06:25:10 +0800
committerbeat <beat@FreeBSD.org>2010-10-26 06:25:10 +0800
commit7fd2aa37a44820cfc26ecae88733b2c02c559b09 (patch)
tree0635b451ad126b664cb04ee96a16a1813c0ef351 /www/libxul
parent4c1de12d1f9123104a963ab0704a999c87765e2a (diff)
downloadfreebsd-ports-gnome-7fd2aa37a44820cfc26ecae88733b2c02c559b09.tar.gz
freebsd-ports-gnome-7fd2aa37a44820cfc26ecae88733b2c02c559b09.tar.zst
freebsd-ports-gnome-7fd2aa37a44820cfc26ecae88733b2c02c559b09.zip
- Fix build with custom LOCALBASE
Submitted by: kmoore
Diffstat (limited to 'www/libxul')
-rw-r--r--www/libxul/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/libxul/Makefile b/www/libxul/Makefile
index 03f35983bc90..e92a2712df62 100644
--- a/www/libxul/Makefile
+++ b/www/libxul/Makefile
@@ -73,6 +73,8 @@ post-patch:
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in \
${WRKSRC}/db/sqlite3/src/Makefile.in
+ ${REINPLACE_CMD} -e 's|/usr/local/include|${LOCALBASE}/include|' \
+ ${WRKSRC}/js/src/config/mkdepend/Makefile.in
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|echo aout|echo elf|g ; \