diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2007-02-19 20:12:22 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2007-02-19 20:12:22 +0000 |
commit | 7e658dbee431e8d546ac760b5a76833a9f82d146 (patch) | |
tree | 42d648374fd1d3dac1e3e00d7a2091a9eb5b86ed /lang/perl5.12/Makefile | |
parent | - Move doc-install above .include <bsd.port.post.mk> (diff) |
1. Fix breakage due to incorrect objformat-related change.
2. While at it, add a WITHOUT_USE_PERL knob that avoids spamming
/usr/bin; it is meant for those who do cross-installs and such.
No version bump.
Pointy hat to: kris [1]
Reported by: many [1]
PR: 104524 [2]
Submitted by: Nick Hibma <nick@anywi.com> [2]
Notes
Notes:
svn path=/head/; revision=185534
Diffstat (limited to 'lang/perl5.12/Makefile')
-rw-r--r-- | lang/perl5.12/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile index 4a7cf88df437..46c7d47d3b4e 100644 --- a/lang/perl5.12/Makefile +++ b/lang/perl5.12/Makefile @@ -146,6 +146,7 @@ pre-fetch: @${ECHO} " (affects only 32-bit platforms)." @${ECHO} " WITH_THREADS=yes Build threaded perl." @${ECHO} " ENABLE_SUIDPERL=yes Also build set-user-id suidperl binary." + @${ECHO} " WITHOUT_USE_PERL=yes Do not rewrite links in /usr/bin" @${ECHO} "" post-patch: @@ -187,11 +188,13 @@ post-install: ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ ${BSDPAN_WRKSRC}/${files} ${BSDPAN_DEST}/${files} .endfor +.ifndef WITHOUT_USE_PERL PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .if ${OSVERSION} < 500036 ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl @fmt ${PKGMESSAGE} .endif +.endif rebuild-xs: ${LOCALBASE}/sbin/portupgrade -f `(${FIND} ${PKG_DBDIR}/p5*/+CONTENTS | \ |