aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-09-18 03:16:59 +0800
committerdirk <dirk@FreeBSD.org>1999-09-18 03:16:59 +0800
commitfb384f54c41059a427dba368a6345a4b4a39313e (patch)
treee7fe025b7a7777d284e76933e1c1d6ba69900ac1 /security
parent0c4205268b5b0c8cb74ed5a61830aac9fd52d173 (diff)
downloadfreebsd-ports-gnome-fb384f54c41059a427dba368a6345a4b4a39313e.tar.gz
freebsd-ports-gnome-fb384f54c41059a427dba368a6345a4b4a39313e.tar.zst
freebsd-ports-gnome-fb384f54c41059a427dba368a6345a4b4a39313e.zip
Don't use ${PREFIX} in pkg/MESSAGE but /usr/local and substitute
/usr/local accordingly via Makefile. Submitted by: Bill Fumerola <billf@FreeBSD.org>
Diffstat (limited to 'security')
-rw-r--r--security/openssl-beta/Makefile2
-rw-r--r--security/openssl-beta/pkg-message2
-rw-r--r--security/openssl/Makefile2
-rw-r--r--security/openssl/pkg-message2
4 files changed, 4 insertions, 4 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index df9313a0a6e7..1c5467983ce6 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/Makefile
@@ -43,6 +43,6 @@ post-install:
@${MKDIR} ${PREFIX}/share/doc/openssl
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/openssl
.endif
- @${CAT} ${PKGDIR}/MESSAGE
+ @${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGDIR}/MESSAGE
.include <bsd.port.mk>
diff --git a/security/openssl-beta/pkg-message b/security/openssl-beta/pkg-message
index 5a671a0900b9..ac397b19a14a 100644
--- a/security/openssl-beta/pkg-message
+++ b/security/openssl-beta/pkg-message
@@ -1,4 +1,4 @@
-Copy ${PREFIX}/openssl/openssl.cnf.sample to ${PREFIX}/openssl/openssl.cnf
+Copy /usr/local/openssl/openssl.cnf.sample to /usr/local/openssl/openssl.cnf
and edit it to fit your needs.
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index df9313a0a6e7..1c5467983ce6 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -43,6 +43,6 @@ post-install:
@${MKDIR} ${PREFIX}/share/doc/openssl
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/openssl
.endif
- @${CAT} ${PKGDIR}/MESSAGE
+ @${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGDIR}/MESSAGE
.include <bsd.port.mk>
diff --git a/security/openssl/pkg-message b/security/openssl/pkg-message
index 5a671a0900b9..ac397b19a14a 100644
--- a/security/openssl/pkg-message
+++ b/security/openssl/pkg-message
@@ -1,4 +1,4 @@
-Copy ${PREFIX}/openssl/openssl.cnf.sample to ${PREFIX}/openssl/openssl.cnf
+Copy /usr/local/openssl/openssl.cnf.sample to /usr/local/openssl/openssl.cnf
and edit it to fit your needs.