diff options
author | adamw <adamw@FreeBSD.org> | 2005-04-21 00:46:56 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2005-04-21 00:46:56 +0800 |
commit | 38f6f1a794d6b36db5f0b2bceb7eb538fbb2b3be (patch) | |
tree | 6f3f0bb20e4003b8ef98d8a891ebf9f8a13943a4 | |
parent | 136e19419c572078f501dec2ed2fb034b284846e (diff) | |
download | freebsd-ports-gnome-38f6f1a794d6b36db5f0b2bceb7eb538fbb2b3be.tar.gz freebsd-ports-gnome-38f6f1a794d6b36db5f0b2bceb7eb538fbb2b3be.tar.zst freebsd-ports-gnome-38f6f1a794d6b36db5f0b2bceb7eb538fbb2b3be.zip |
Fix build by including ${LOCALBASE}/lib in the link path.
-rw-r--r-- | ports-mgmt/bpm/Makefile | 6 | ||||
-rw-r--r-- | sysutils/bpm/Makefile | 6 |
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> |