summaryrefslogtreecommitdiff
path: root/devel/libsearpc/files/patch-Makefile.am
blob: f75ed9b4cf66358bc92f809799dd625c40f363c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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