From d51fd9087e5d7604d85501ea5606270eab3e5de5 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Thu, 16 May 2002 10:59:57 +0000 Subject: Add a note about the hardcoded /usr/local in the frontpage binaries. --- www/mod_frontpage/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'www/mod_frontpage/Makefile') diff --git a/www/mod_frontpage/Makefile b/www/mod_frontpage/Makefile index e5c2e374bacb..2d188b29e76e 100644 --- a/www/mod_frontpage/Makefile +++ b/www/mod_frontpage/Makefile @@ -65,6 +65,11 @@ pre-fetch: post-install: - @${CAT} ${PKGMESSAGE} +.if (${PREFIX} != "/usr/local") + @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' +.else + @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' \ + | ${GREP} -v "ln" +.endif .include -- cgit v1.2.3