aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-10-27 08:06:23 +0800
committermarcus <marcus@FreeBSD.org>2005-10-27 08:06:23 +0800
commitfb295cf60266977616819473d84876358b105e94 (patch)
treee12ae4419ae64a1562cad09c18b4a184740df5b8 /www/seamonkey
parent5e484fb2b00f677e17933fbb2dca7b371b1b59c6 (diff)
downloadfreebsd-ports-gnome-fb295cf60266977616819473d84876358b105e94.tar.gz
freebsd-ports-gnome-fb295cf60266977616819473d84876358b105e94.tar.zst
freebsd-ports-gnome-fb295cf60266977616819473d84876358b105e94.zip
Replace /usr/X11R6 with ${X11BASE} to fix the build with non-default
base paths. Reported by: pointyhat via kris
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 15a184b440ad..5947dc3804af 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -219,7 +219,8 @@ post-patch:
@${FIND} ${WRKSRC}/other-licenses/libical -name "*.c" | ${XARGS} \
${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g'
@${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' \