diff options
-rw-r--r-- | comms/yawmppp/Makefile | 3 |
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> |