summaryrefslogtreecommitdiffstats
path: root/www/nvu
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-10-27 00:41:05 +0000
committerahze <ahze@FreeBSD.org>2005-10-27 00:41:05 +0000
commit8f954edbe9e63c803259357eb52173c716f88873 (patch)
treeb6c610e8c00743fac2860eeba0379d2c1811ded5 /www/nvu
parent48833a1668f22e82eebf64164db7780f47c975f4 (diff)
downloadFreeBSD-ports-8f954edbe9e63c803259357eb52173c716f88873.zip
FreeBSD-ports-8f954edbe9e63c803259357eb52173c716f88873.tar.gz
- Fix build when ${X11BASE}!=/usr/X11R6
Obtained from: www/mozilla Reported by: pointyhat via kris
Diffstat (limited to 'www/nvu')
-rw-r--r--www/nvu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/nvu/Makefile b/www/nvu/Makefile
index 6459842..9622c1d 100644
--- a/www/nvu/Makefile
+++ b/www/nvu/Makefile
@@ -81,7 +81,8 @@ post-patch:
@${ECHO_CMD} "ac_add_options --enable-optimize=-O2" >> ${WRKSRC}/.mozconfig
.endif
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
- s|-lpthread|${PTHREAD_LIBS}|g' \
+ s|-lpthread|${PTHREAD_LIBS}|g; \
+ s|/usr/X11R6|${X11BASE}|g' \
${WRKSRC}/configure \
${WRKSRC}/nsprpub/configure
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
OpenPOWER on IntegriCloud