ports/net-mgmt/ccnet-server/files/patch-Makefile.am
2016-12-25 14:38:34 +00:00

15 lines
364 B
Text

--- Makefile.am.orig 2016-10-05 10:33:03 UTC
+++ Makefile.am
@@ -15,8 +15,12 @@ install-data-local:
if MACOS
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
else
+if BSD
+ sed -i '' "s|(DESTDIR)|${PREFIX}|g" $(pcfiles)
+else
${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
endif
+endif
dist-hook:
git log --format='%H' -1 > $(distdir)/latest_commit