aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2004-02-21 12:39:05 +0800
committercy <cy@FreeBSD.org>2004-02-21 12:39:05 +0800
commit79dd85c2af7141d7fad573de94b5f3aa9058962c (patch)
tree25db61de68fb1de8a8f3ac1177326c27cef977e9 /security
parentbdd6187725eb442675161d7bb8a507a6e9ec9bde (diff)
downloadfreebsd-ports-gnome-79dd85c2af7141d7fad573de94b5f3aa9058962c.tar.gz
freebsd-ports-gnome-79dd85c2af7141d7fad573de94b5f3aa9058962c.tar.zst
freebsd-ports-gnome-79dd85c2af7141d7fad573de94b5f3aa9058962c.zip
Use ports infrastructure provided PERL5 variable to locate Perl
interpreter.
Diffstat (limited to 'security')
-rw-r--r--security/krb5-16/Makefile7
-rw-r--r--security/krb5-17/Makefile7
-rw-r--r--security/krb5-appl/Makefile7
-rw-r--r--security/krb5/Makefile7
4 files changed, 4 insertions, 24 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile
index 29b4813f80d7..a06417381112 100644
--- a/security/krb5-16/Makefile
+++ b/security/krb5-16/Makefile
@@ -88,13 +88,8 @@ post-extract:
.endif
post-patch:
-.if ${OSVERSION} >= 500000
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!${LOCALBASE},' \
+ @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena/bin/perl,#!${PERL5},' \
${WRKSRC}/../doc/man2html
-.else
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!\/usr,' \
- ${WRKSRC}/../doc/man2html
-.endif
pre-build:
.if !defined(KRB5_KRB4_COMPAT)
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile
index 29b4813f80d7..a06417381112 100644
--- a/security/krb5-17/Makefile
+++ b/security/krb5-17/Makefile
@@ -88,13 +88,8 @@ post-extract:
.endif
post-patch:
-.if ${OSVERSION} >= 500000
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!${LOCALBASE},' \
+ @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena/bin/perl,#!${PERL5},' \
${WRKSRC}/../doc/man2html
-.else
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!\/usr,' \
- ${WRKSRC}/../doc/man2html
-.endif
pre-build:
.if !defined(KRB5_KRB4_COMPAT)
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile
index 29b4813f80d7..a06417381112 100644
--- a/security/krb5-appl/Makefile
+++ b/security/krb5-appl/Makefile
@@ -88,13 +88,8 @@ post-extract:
.endif
post-patch:
-.if ${OSVERSION} >= 500000
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!${LOCALBASE},' \
+ @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena/bin/perl,#!${PERL5},' \
${WRKSRC}/../doc/man2html
-.else
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!\/usr,' \
- ${WRKSRC}/../doc/man2html
-.endif
pre-build:
.if !defined(KRB5_KRB4_COMPAT)
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 29b4813f80d7..a06417381112 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -88,13 +88,8 @@ post-extract:
.endif
post-patch:
-.if ${OSVERSION} >= 500000
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!${LOCALBASE},' \
+ @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena/bin/perl,#!${PERL5},' \
${WRKSRC}/../doc/man2html
-.else
- @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!\/usr,' \
- ${WRKSRC}/../doc/man2html
-.endif
pre-build:
.if !defined(KRB5_KRB4_COMPAT)