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 | 38168ff67ec0d44ba15950e12e7edbf2059e15e5 (diff) |
Notes
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 | \ |