--- Makefile.am.orig 2015-11-26 15:34:14 UTC +++ Makefile.am @@ -24,9 +24,13 @@ ACLOCAL_AMFLAGS = -I m4 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