summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>