|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../perl/perl.conf |
|
|
|
|
# Copyright (C) 2010 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# Copyright (C) 1998 - 2004 Clifford Wolf |
|
|
|
|
# |
|
|
|
@ -55,16 +56,11 @@ perl_postmake() {
|
|
|
|
|
runconfig=0 |
|
|
|
|
|
|
|
|
|
[[ $libdir = *lib64 ]] && var_append patchfiles ' ' "$confdir/lib64.diff" |
|
|
|
|
libpth="/usr/local/${libdir##*/} /${libdir##*/} /usr/${libdir##*/}" |
|
|
|
|
confopt="-des -Dcc=gcc -Darchname=$arch_target -Dprefix=/$prefix \ |
|
|
|
|
-Dmyhostname=$SDECFG_PKG_PERL5_HOST_NAME \ |
|
|
|
|
-Dsiteprefix=/$SDECFG_PKG_PERL5_SITE_PREFIX \ |
|
|
|
|
-Dvendorprefix=/$SDECFG_PKG_PERL5_VENDOR_PREFIX" |
|
|
|
|
|
|
|
|
|
for lp in $libpth; do |
|
|
|
|
var_append confopt ' ' "-Alibpth=$lp" |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
[ "$SDECFG_PKG_PERL5_SUIDPERL" != "0" ] && confopt="$confopt -Dd_dosuid" |
|
|
|
|
[ "$SDECFG_PKG_PERL5_THREADS" = "1" ] && confopt="$confopt -Dusethreads" |
|
|
|
|
[ "$SDECFG_PKG_PERL5_USE_DB3" = "1" ] && patchfiles="$patchfiles $confdir/use_db3.diff" |
|
|
|
|