aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-07-30 07:05:45 +0800
committerlioux <lioux@FreeBSD.org>2001-07-30 07:05:45 +0800
commit5f6c49fcf16750430afb8fec723beb6bb7375a27 (patch)
treeca3e8a778007ddec48d22b6fc60839f175e869c5 /comms
parentf311ad5048420ae4d39d7544654d931fba909fee (diff)
downloadfreebsd-ports-gnome-5f6c49fcf16750430afb8fec723beb6bb7375a27.tar.gz
freebsd-ports-gnome-5f6c49fcf16750430afb8fec723beb6bb7375a27.tar.zst
freebsd-ports-gnome-5f6c49fcf16750430afb8fec723beb6bb7375a27.zip
o Add USE_X_PREFIX (implies USE_XLIB)
o Also add additional PREFIX safeness patches PR: 29063 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'comms')
-rw-r--r--comms/yawmppp/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/comms/yawmppp/Makefile b/comms/yawmppp/Makefile
index dc9f5d3f6a9f..69fbb90954ab 100644
--- a/comms/yawmppp/Makefile
+++ b/comms/yawmppp/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= ftp://ftp.seul.org/pub/yawmppp/ \
MAINTAINER= ports@FreeBSD.org
+USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GTK= yes
@@ -32,5 +33,7 @@ pre-configure:
pre-patch:
@${PERL} -pi -e "s|\@prefix\@/doc/|\@prefix\@/share/doc/|g" \
${WRKSRC}/Makefile.in
+ @${PERL} -pi -e 's!\/usr\/local!${PREFIX}!; \
+ s!/usr/bin!${PREFIX}/bin!' ${WRKSRC}/src/ycommon.c
.include <bsd.port.mk>