Commit 0c7542b
0
plików
+0
dodanych
-0
usuniętych
@@ -3208,47 +3208,42 @@ footprint_perl_man: |
3208
3208
build: |
3209
3209
cd ${pkgname}-${pkgver}
3210
3210
3211
- if [ "`uname -m`" == "x86_64" ]; then
3212
- _ARCH="-Dcccdlflags='-fPIC'"
3213
- else
3214
- _ARCH=""
3215
- fi
3216
-
3217
3211
echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
3218
3212
export BUILD_ZLIB=False
3219
- export BUILD_BZIP2=0
3220
-
3213
+ export BUILD_BZIP2=1
3221
3214
3222
3215
sh Configure -des \
3223
- -Dprefix=/usr \
3224
- -Duseshrplib \
3225
- -Dvendorprefix=/usr \
3226
- -Darchlib=/usr/lib/perl5/5.42/core_perl \
3227
- -Dprivlib=/usr/lib/perl5/5.42/core_perl \
3228
- -Dvendorlib=/usr/lib/perl5/5.42/vendor_perl \
3229
- -Dvendorarch=/usr/lib/perl5/5.42/vendor_perl \
3230
- -Dsitelib=/usr/lib/perl5/5.42/site_perl \
3231
- -Dsitearch=/usr/lib/perl5/5.42/site_perl \
3232
- -Dman1dir=/usr/share/man/man1 \
3233
- -Dman3dir=/usr/share/man/man3 \
3234
- -Dpager="/usr/bin/less isR" ${_ARCH} \
3235
- -Dusethreads
3216
+ -Dprefix=/usr \
3217
+ -Duseshrplib \
3218
+ -Dvendorprefix=/usr \
3219
+ -Darchlib=/usr/lib/perl5/5.42/core_perl \
3220
+ -Dprivlib=/usr/lib/perl5/5.42/core_perl \
3221
+ -Dvendorlib=/usr/lib/perl5/5.42/vendor_perl \
3222
+ -Dvendorarch=/usr/lib/perl5/5.42/vendor_perl \
3223
+ -Dsitelib=/usr/lib/perl5/5.42/site_perl \
3224
+ -Dsitearch=/usr/lib/perl5/5.42/site_perl \
3225
+ -Dman1dir=/usr/share/man/man1 \
3226
+ -Dman3dir=/usr/share/man/man3 \
3227
+ -Dpager="/usr/bin/less isR" \
3228
+ -Dcccdlflags='-fPIC' \
3229
+ -Dccflags='-fPIC' \
3230
+ -Dusethreads
3236
3231
3237
3232
make
3238
3233
# Only when we are building a new base
3239
3234
3240
3235
if [ -L /tools ]; then
3241
- make -k test || true
3236
+ make -k test || true
3242
3237
fi
3243
3238
3244
3239
make DESTDIR=${PKGDIR} install
3245
3240
find ${PKGDIR} -iname 'TODO*' -or \
3246
- -iname 'Change*' -or \
3247
- -iname 'README*' -or \
3248
- -name '*.bs' -or \
3249
- -name .packlist -or \
3250
- -name perllocal.pod -or \
3251
- -empty -delete
3241
+ -iname 'Change*' -or \
3242
+ -iname 'README*' -or \
3243
+ -name '*.bs' -or \
3244
+ -name .packlist -or \
3245
+ -name perllocal.pod -or \
3246
+ -empty -delete
3252
3247
3253
3248
chmod -R +w ${PKGDIR}
3254
3249
unset BUILD_ZLIB BUILD_BZIP2
@@ -3256,4 +3251,4 @@ build: |
3256
3251
install -Dm644 Copying ${PKGDIR}/usr/share/licenses/${pkgname}/Copying
3257
3252
3258
3253
package: |
3259
- true
3254
+ true