summaryrefslogtreecommitdiff
path: root/comms/yawmppp/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-07-29 23:05:45 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-07-29 23:05:45 +0000
commitc5664496c2425d6a2c0ed3fc134ac84cac6977d6 (patch)
treeba742fd552d475690d79b163ecc5aee71eafd0ba /comms/yawmppp/Makefile
parentSwitch to OPIE (diff)
o Add USE_X_PREFIX (implies USE_XLIB)
o Also add additional PREFIX safeness patches PR: 29063 Submitted by: Patrick Li <pat@databits.net>
Notes
Notes: svn path=/head/; revision=45593
Diffstat (limited to 'comms/yawmppp/Makefile')
-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>