| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.182 2012/10/03 19:59:47 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.183 2012/10/20 10:41:46 wiz Exp $ |
2 | | | 2 | |
3 | .include "license.mk" | | 3 | .include "license.mk" |
4 | .include "Makefile.common" | | 4 | .include "Makefile.common" |
5 | | | 5 | |
6 | COMMENT= Practical Extraction and Report Language | | 6 | COMMENT= Practical Extraction and Report Language |
7 | | | 7 | |
8 | CONFLICTS= perl-base-[0-9]* perl-thread-[0-9]* \ | | 8 | CONFLICTS= perl-base-[0-9]* perl-thread-[0-9]* \ |
9 | p5-CGI-2.66{,nb*} p5-CGI-2.75{,nb*} p5-CGI-2.75.[0-2] \ | | 9 | p5-CGI-2.66{,nb*} p5-CGI-2.75{,nb*} p5-CGI-2.75.[0-2] \ |
10 | p5-Tie-File-0.96{,nb*} \ | | 10 | p5-Tie-File-0.96{,nb*} \ |
11 | p5-Memoize-1.01{,nb*} \ | | 11 | p5-Memoize-1.01{,nb*} \ |
12 | p5-I18N-LangTags<0.35 \ | | 12 | p5-I18N-LangTags<0.35 \ |
13 | p5-Locale-Maketext-1.[0-9]*{,nb*} \ | | 13 | p5-Locale-Maketext-1.[0-9]*{,nb*} \ |
14 | p5-Locale-Maketext-Simple<0.21 \ | | 14 | p5-Locale-Maketext-Simple<0.21 \ |
| @@ -262,34 +262,36 @@ LOCLIBRPATHFLAGS+= ${COMPILER_RPATH_FLAG | | | @@ -262,34 +262,36 @@ LOCLIBRPATHFLAGS+= ${COMPILER_RPATH_FLAG |
262 | . endif | | 262 | . endif |
263 | .else | | 263 | .else |
264 | . if ${OBJECT_FMT} == "XCOFF" | | 264 | . if ${OBJECT_FMT} == "XCOFF" |
265 | BROKEN= XCOFF targets need the path specified where libperl.a resides.\ | | 265 | BROKEN= XCOFF targets need the path specified where libperl.a resides.\ |
266 | Please choose on of 64bitint 64bitmore 64bitall or 64bitnone to allow this. | | 266 | Please choose on of 64bitint 64bitmore 64bitall or 64bitnone to allow this. |
267 | . endif | | 267 | . endif |
268 | .endif | | 268 | .endif |
269 | SUBST_VARS.policysh+= LOCLIBRPATHFLAGS | | 269 | SUBST_VARS.policysh+= LOCLIBRPATHFLAGS |
270 | | | 270 | |
271 | # Remove a spurious workdir reference | | 271 | # Remove a spurious workdir reference |
272 | SUBST_CLASSES+= rm | | 272 | SUBST_CLASSES+= rm |
273 | SUBST_STAGE.rm= pre-install | | 273 | SUBST_STAGE.rm= pre-install |
274 | SUBST_FILES.rm= lib/Config_heavy.pl | | 274 | SUBST_FILES.rm= lib/Config_heavy.pl |
| | | 275 | SUBST_MESSAGE.rm= Do not use tools version of rm. |
275 | SUBST_SED.rm= -e "s!^rm_try='/.*/\\.tools/bin/rm -f!rm_try='/bin/rm -f!" | | 276 | SUBST_SED.rm= -e "s!^rm_try='/.*/\\.tools/bin/rm -f!rm_try='/bin/rm -f!" |
276 | | | 277 | |
277 | # Replace our perl as the interpreter | | 278 | # Replace our perl as the interpreter |
278 | REPLACE_PERL+= lib/File/DosGlob.pm | | 279 | REPLACE_PERL+= lib/File/DosGlob.pm |
279 | REPLACE_PERL+= lib/unicore/mktables | | 280 | REPLACE_PERL+= lib/unicore/mktables |
280 | REPLACE_PERL+= lib/version.pm | | 281 | REPLACE_PERL+= lib/version.pm |
281 | REPLACE_PERL+= dist/bignum/lib/Math/BigFloat/Trace.pm | | 282 | REPLACE_PERL+= dist/bignum/lib/Math/BigFloat/Trace.pm |
282 | REPLACE_PERL+= dist/bignum/lib/Math/BigInt/Trace.pm | | 283 | REPLACE_PERL+= dist/bignum/lib/Math/BigInt/Trace.pm |
| | | 284 | REPLACE_PERL+= dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp |
283 | | | 285 | |
284 | # And replace a perl interpreter during the pre-install stage | | 286 | # And replace a perl interpreter during the pre-install stage |
285 | # I think this may be a bootstrap script, so can't use REPLACE_PERL | | 287 | # I think this may be a bootstrap script, so can't use REPLACE_PERL |
286 | # because that is acted upon already in the pre-configure stage | | 288 | # because that is acted upon already in the pre-configure stage |
287 | SUBST_CLASSES+= miniperl | | 289 | SUBST_CLASSES+= miniperl |
288 | SUBST_STAGE.miniperl= pre-install | | 290 | SUBST_STAGE.miniperl= pre-install |
289 | SUBST_FILES.miniperl= lib/ExtUtils/xsubpp | | 291 | SUBST_FILES.miniperl= lib/ExtUtils/xsubpp |
290 | SUBST_SED.miniperl= -e "1s:\#!./miniperl:\#!${PERL5}:" | | 292 | SUBST_SED.miniperl= -e "1s:\#!./miniperl:\#!${PERL5}:" |
291 | | | 293 | |
292 | .if ${PKGSRC_COMPILER} == "xlc" | | 294 | .if ${PKGSRC_COMPILER} == "xlc" |
293 | SUBST_CLASSES+= cpprun | | 295 | SUBST_CLASSES+= cpprun |
294 | SUBST_STAGE.cpprun= pre-install | | 296 | SUBST_STAGE.cpprun= pre-install |
295 | SUBST_FILES.cpprun= lib/Config_heavy.pl | | 297 | SUBST_FILES.cpprun= lib/Config_heavy.pl |