aboutsummaryrefslogtreecommitdiffstats
path: root/www/kompozer
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-10-27 08:41:05 +0800
committerahze <ahze@FreeBSD.org>2005-10-27 08:41:05 +0800
commit8f954edbe9e63c803259357eb52173c716f88873 (patch)
treeb6c610e8c00743fac2860eeba0379d2c1811ded5 /www/kompozer
parent48833a1668f22e82eebf64164db7780f47c975f4 (diff)
downloadfreebsd-ports-gnome-8f954edbe9e63c803259357eb52173c716f88873.tar.gz
freebsd-ports-gnome-8f954edbe9e63c803259357eb52173c716f88873.tar.zst
freebsd-ports-gnome-8f954edbe9e63c803259357eb52173c716f88873.zip
- Fix build when ${X11BASE}!=/usr/X11R6
Obtained from: www/mozilla Reported by: pointyhat via kris
Diffstat (limited to 'www/kompozer')
-rw-r--r--www/kompozer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/kompozer/Makefile b/www/kompozer/Makefile
index 6459842be85d..9622c1d8aa94 100644
--- a/www/kompozer/Makefile
+++ b/www/kompozer/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' \