aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ports-mgmt/bpm/Makefile6
-rw-r--r--sysutils/bpm/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile
index e707cd7b4bac..d095824ee14f 100644
--- a/ports-mgmt/bpm/Makefile
+++ b/ports-mgmt/bpm/Makefile
@@ -11,7 +11,6 @@ PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= http://www.meowfishies.com/code/bpm/
EXTRACT_SUFX= .tgz
-
MAINTAINER= sethk@meowfishies.com
COMMENT= A graphical BSD ports collection manager
@@ -19,7 +18,12 @@ RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade
USE_X_PREFIX= yes
USE_GNOME= gtk20
+USE_REINPLACE= yes
MAKE_ENV+= OSTYPE="${OPSYS}"
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
+ ${REINPLACE_CMD} -e "s|-lintl|-lintl -L${LOCALBASE}/lib|g"
+
.include <bsd.port.mk>
diff --git a/sysutils/bpm/Makefile b/sysutils/bpm/Makefile
index e707cd7b4bac..d095824ee14f 100644
--- a/sysutils/bpm/Makefile
+++ b/sysutils/bpm/Makefile
@@ -11,7 +11,6 @@ PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= http://www.meowfishies.com/code/bpm/
EXTRACT_SUFX= .tgz
-
MAINTAINER= sethk@meowfishies.com
COMMENT= A graphical BSD ports collection manager
@@ -19,7 +18,12 @@ RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade
USE_X_PREFIX= yes
USE_GNOME= gtk20
+USE_REINPLACE= yes
MAKE_ENV+= OSTYPE="${OPSYS}"
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
+ ${REINPLACE_CMD} -e "s|-lintl|-lintl -L${LOCALBASE}/lib|g"
+
.include <bsd.port.mk>