aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/kompozer/Makefile3
-rw-r--r--www/nvu/Makefile3
2 files changed, 4 insertions, 2 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' \
diff --git a/www/nvu/Makefile b/www/nvu/Makefile
index 6459842be85d..9622c1d8aa94 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' \