aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-10-25 20:17:07 +0800
committeredwin <edwin@FreeBSD.org>2004-10-25 20:17:07 +0800
commit271d1032ff983f19880ab6d7126434f74e003e14 (patch)
tree9165bf667ca01440435b3c9cdb296ebb10e8012f /devel
parent76c7453d7f0da64291a60a781089eb1d553a6d8c (diff)
downloadfreebsd-ports-gnome-271d1032ff983f19880ab6d7126434f74e003e14.tar.gz
freebsd-ports-gnome-271d1032ff983f19880ab6d7126434f74e003e14.tar.zst
freebsd-ports-gnome-271d1032ff983f19880ab6d7126434f74e003e14.zip
Fix building of pkg-message in case WRKDIRPREFIX is set
Submitted by: ls+edwin.freebsd.org9365ecb9@gambit.com.ru
Diffstat (limited to 'devel')
-rw-r--r--devel/viewcvs/Makefile2
-rw-r--r--devel/viewvc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/viewcvs/Makefile b/devel/viewcvs/Makefile
index ba1267d87a00..fb7a7e504179 100644
--- a/devel/viewcvs/Makefile
+++ b/devel/viewcvs/Makefile
@@ -25,7 +25,7 @@ do-install:
@ cd ${WRKSRC} && INSTDIR=${PREFIX}/${INSTDIR} ${PYTHON_CMD} viewcvs-install
post-install:
- @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/${INSTDIR}:g" pkg-message >${PKGMESSAGE}
+ @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/${INSTDIR}:g" ${MASTERDIR}/pkg-message >${PKGMESSAGE}
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/devel/viewvc/Makefile b/devel/viewvc/Makefile
index ba1267d87a00..fb7a7e504179 100644
--- a/devel/viewvc/Makefile
+++ b/devel/viewvc/Makefile
@@ -25,7 +25,7 @@ do-install:
@ cd ${WRKSRC} && INSTDIR=${PREFIX}/${INSTDIR} ${PYTHON_CMD} viewcvs-install
post-install:
- @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/${INSTDIR}:g" pkg-message >${PKGMESSAGE}
+ @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/${INSTDIR}:g" ${MASTERDIR}/pkg-message >${PKGMESSAGE}
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>