diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2010-07-23 17:41:04 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2010-07-23 17:41:04 +0000 |
commit | cc9986cdcffea4ed1bdc6b032323bbab8449bf6e (patch) | |
tree | 47e64d4cb345f0f75237d4565b745e0aad2f51e0 /lang/perl5.16 | |
parent | - Update to 1.6.2 (diff) |
[1] Unbreak build with THREADS option
[2] Remove SUIDPERL option: SUID emulation has been removed for 5.12
PR: ports/148648 [1]
Submitted by: Andrei Lavreniyuk <andy.lavr@gmail.com> [1]
WWW: http://search.cpan.org/~jesse/perl-5.12.1/pod/perl5120delta.pod#Deprecations [2]
Notes
Notes:
svn path=/head/; revision=258104
Diffstat (limited to 'lang/perl5.16')
-rw-r--r-- | lang/perl5.16/Makefile | 10 | ||||
-rw-r--r-- | lang/perl5.16/files/patch-freebsd.sh | 13 | ||||
-rw-r--r-- | lang/perl5.16/pkg-plist | 3 |
3 files changed, 12 insertions, 14 deletions
diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index 1e870e5bdf90..bfb91b64c1a6 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/Makefile @@ -7,6 +7,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} +PORTREVISION= 1 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN \ ${MASTER_SITE_LOCAL:S/$/:local/} \ @@ -29,7 +30,6 @@ OPTIONS= DEBUGGING "Build with debugging support" off \ PERL_64BITINT "Use 64 bit integers (on i386)" on \ THREADS "Build threaded perl" off \ MULTIPLICITY "Use multiplicity" off \ - SUIDPERL "Build set-user-id suidperl binary" off \ SITECUSTOMIZE "Run-time customization of @INC" off \ USE_PERL "Rewrite links in /usr/bin" on @@ -88,14 +88,6 @@ STRIP_CMD= ${TRUE} CONFIGURE_ARGS+= -Doptimize="${CFLAGS}" .endif -.if defined(ENABLE_SUIDPERL) || defined(WITH_SUIDPERL) -CONFIGURE_ARGS+= -Dd_dosuid=define -PLIST_SUB+= SUIDPERL="" -.else -CONFIGURE_ARGS+= -Ud_dosuid -PLIST_SUB+= SUIDPERL="@comment " -.endif - .if defined(WITH_GDBM) CONFIGURE_ARGS+= -Di_gdbm LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm diff --git a/lang/perl5.16/files/patch-freebsd.sh b/lang/perl5.16/files/patch-freebsd.sh index 4587e5338e7f..42dd19c79b8c 100644 --- a/lang/perl5.16/files/patch-freebsd.sh +++ b/lang/perl5.16/files/patch-freebsd.sh @@ -29,7 +29,16 @@ lddlflags="-shared " fi cccdlflags='-DPIC -fPIC' -@@ -136,7 +142,7 @@ +@@ -133,7 +139,7 @@ + *) + libpth="/usr/lib /usr/local/lib" + glibpth="/usr/lib /usr/local/lib" +- ldflags="-Wl,-E " ++ ldflags="%%PTHREAD_LIBS%% -Wl,-E " + lddlflags="-shared " + cccdlflags='-DPIC -fPIC' + ;; +@@ -143,7 +149,7 @@ 0*|1*|2*|3*) ;; *) @@ -38,7 +47,7 @@ if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then usenm=false fi -@@ -183,7 +189,9 @@ +@@ -190,7 +196,9 @@ # This script UU/usethreads.cbu will get 'called-back' by Configure # after it has prompted the user for whether to use threads. diff --git a/lang/perl5.16/pkg-plist b/lang/perl5.16/pkg-plist index a4e947b0bd06..8d941a797eff 100644 --- a/lang/perl5.16/pkg-plist +++ b/lang/perl5.16/pkg-plist @@ -38,9 +38,7 @@ bin/ptar bin/ptardiff bin/s2p bin/shasum -%%SUIDPERL%%bin/sperl%%PERL_VER%% bin/splain -%%SUIDPERL%%bin/suidperl bin/xsubpp lib/perl5/%%PERL_VER%%/AnyDBM_File.pm lib/perl5/%%PERL_VER%%/App/Cpan.pm @@ -656,7 +654,6 @@ lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/regcomp.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/regexp.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/regnodes.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/scope.h -%%SUIDPERL%%lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/sperl.o lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/bitcount.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/sv.h lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/CORE/thread.h |