Changeset View
Changeset View
Standalone View
Standalone View
net-mgmt/ccnet/files/patch-Makefile.am
--- Makefile.am.orig 2015-01-27 22:28:22.000000000 -0500 | --- Makefile.am.orig 2015-11-26 15:34:14 UTC | ||||
+++ Makefile.am 2015-01-27 22:33:35.000000000 -0500 | +++ Makefile.am | ||||
@@ -24,9 +24,13 @@ | @@ -24,9 +24,13 @@ ACLOCAL_AMFLAGS = -I m4 | ||||
install-data-local: | install-data-local: | ||||
if MACOS | if MACOS | ||||
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) | sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) | ||||
+else | +else | ||||
+if BSD | +if BSD | ||||
+ sed -i '' "s|(DESTDIR)|${PREFIX}|g" $(pcfiles) | + sed -i '' "s|(DESTDIR)|${PREFIX}|g" $(pcfiles) | ||||
else | else | ||||
${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) | ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles) | ||||
endif | endif | ||||
+endif | +endif | ||||
dist-hook: | dist-hook: | ||||
- git log --format='%H' -1 > $(distdir)/latest_commit | git log --format='%H' -1 > $(distdir)/latest_commit | ||||
\ No newline at end of file | |||||
+ git log --format='%H' -1 > $(distdir)/latest_commit |