aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-11-10 02:14:43 +0800
committergarga <garga@FreeBSD.org>2005-11-10 02:14:43 +0800
commit09bcce966b0f1bd4c3fb5c6331bdd1d4316dfa69 (patch)
tree5d89ca9b5818de55e60d0dff2d5a85a5e1a075e5 /security
parentfb6435bc5837b4398f7a097491923b6f104ae7b5 (diff)
downloadfreebsd-ports-gnome-09bcce966b0f1bd4c3fb5c6331bdd1d4316dfa69.tar.gz
freebsd-ports-gnome-09bcce966b0f1bd4c3fb5c6331bdd1d4316dfa69.tar.zst
freebsd-ports-gnome-09bcce966b0f1bd4c3fb5c6331bdd1d4316dfa69.zip
- Respect non-standard LOCALBASE
Noticed by: kris
Diffstat (limited to 'security')
-rw-r--r--security/p5-Authen-Krb5/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/security/p5-Authen-Krb5/Makefile b/security/p5-Authen-Krb5/Makefile
index 48917761a6cd..08e8cf7dd2e7 100644
--- a/security/p5-Authen-Krb5/Makefile
+++ b/security/p5-Authen-Krb5/Makefile
@@ -18,16 +18,15 @@ COMMENT= Perl extension for Kerberos 5
LIB_DEPENDS= gssapi_krb5.2:${PORTSDIR}/security/krb5
-#WRKSRC= ${WRKDIR}/${PORTNAME}
-
PERL_CONFIGURE= yes
MAN3= Authen::Krb5.3
-KRB5_HOME?= ${PREFIX}
+KRB5_HOME?= ${LOCALBASE}
post-patch:
- @${PERL} -pi -e 's:${LOCALBASE}/krb5:${KRB5_HOME}:g' \
+ @${PERL} -pi -e 's:/usr/local/krb5:${KRB5_HOME}:g; \
+ s:/usr/local:${LOCALBASE}:g;' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>