From 7638efe61584ac221e5f7201a1ec0a3c28ae208b Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Thu, 27 Oct 2005 00:41:05 +0000 Subject: - Fix build when ${X11BASE}!=/usr/X11R6 Obtained from: www/mozilla Reported by: pointyhat via kris --- www/kompozer/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/kompozer') 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' \ -- cgit v1.2.3