aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/createrepo
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-04-03 23:51:30 +0800
committergahr <gahr@FreeBSD.org>2013-04-03 23:51:30 +0800
commit20e58e495daf5b49e9506842ba67d756c4420f01 (patch)
tree3b6784a2d808742fe12cd254db5b01756ea6d7c6 /sysutils/createrepo
parent443a1b0cb700bd13aed1240b7efffdb98bbe6638 (diff)
downloadfreebsd-ports-gnome-20e58e495daf5b49e9506842ba67d756c4420f01.tar.gz
freebsd-ports-gnome-20e58e495daf5b49e9506842ba67d756c4420f01.tar.zst
freebsd-ports-gnome-20e58e495daf5b49e9506842ba67d756c4420f01.zip
- Respect PREFIX
Approved by: portmgr
Diffstat (limited to 'sysutils/createrepo')
-rw-r--r--sysutils/createrepo/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/createrepo/Makefile b/sysutils/createrepo/Makefile
index b2d18a37e80c..9d83ce4a4ccc 100644
--- a/sysutils/createrepo/Makefile
+++ b/sysutils/createrepo/Makefile
@@ -42,5 +42,7 @@ post-patch:
${WRKSRC}/createrepo/merge.py
${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' -e 's|$$(datadir)/$$(PKGNAME)|${DATADIR}|' \
${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e '/^PYSYSDIR/s|:= \(.*\)|= ${PREFIX}|' \
+ ${WRKSRC}/createrepo/Makefile
.include <bsd.port.mk>