diff options
author | oliver <oliver@FreeBSD.org> | 2005-05-28 16:30:49 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2005-05-28 16:30:49 +0800 |
commit | 02bd467bf882152024e020643180f760ba57457c (patch) | |
tree | a8b04ebe70e16e8ceccafd4696d9a204bdfc9b5d /net-mgmt/net-snmp53 | |
parent | 0126f38a8d7e759d6fc627debb57301201b091b4 (diff) | |
download | freebsd-ports-gnome-02bd467bf882152024e020643180f760ba57457c.tar.gz freebsd-ports-gnome-02bd467bf882152024e020643180f760ba57457c.tar.zst freebsd-ports-gnome-02bd467bf882152024e020643180f760ba57457c.zip |
don't install perl stuff when WITHOUT_PERL is set - even when perl is installed
PR: ports/80675
Approved by: maintainer timeout (23 days)
Diffstat (limited to 'net-mgmt/net-snmp53')
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 39625685468b..8eeed238248a 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/Makefile @@ -236,14 +236,17 @@ post-configure: @${FIND} ${WRKSRC} -name Makefile | \ ${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|' -.if !defined(WITHOUT_PERL) + post-build: +.if !defined(WITHOUT_PERL) ${FIND} ${WRKSRC}/perl -name Makefile | \ - ${XARGS} ${REINPLACE_CMD} -E -e '\ + ${XARGS} ${REINPLACE_CMD} -E -e '\ s!^(PREFIX) = .*!\1 = ${PREFIX}!; \ s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \ s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \ ' +.else + ${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile .endif post-install: strip-files install-startup-files install-config-files install-doc-files display-message |