freebsd-ports/devel/libsearpc/files/patch-Makefile.am
John Marino 06285400d9 devel/libsearpc: relocate python files
PR:		196921
Submitted by:	maintainer (Jingfeng Yan)
2015-02-16 08:48:19 +00:00

15 lines
353 B
Text

--- Makefile.am.orig 2015-02-16 05:30:39 UTC
+++ Makefile.am
@@ -22,8 +22,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 -1 > $(distdir)/latest_commit