www/p5-libapreq2: remove ignored SUBST block The file env/Makefile.in doesn't exist anymore, and the other Makefile.in files don't run apxs anymore.diff -r1.43 -r1.44 pkgsrc/www/p5-libapreq2/Makefile
(rillig)
@@ -1,38 +1,32 @@ | @@ -1,38 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.43 2019/08/11 13:25:06 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.44 2020/03/22 21:21:05 rillig Exp $ | |
2 | 2 | |||
3 | DISTNAME= libapreq2-2.13 | 3 | DISTNAME= libapreq2-2.13 | |
4 | PKGNAME= p5-${APACHE_PKG_PREFIX}-${DISTNAME} | 4 | PKGNAME= p5-${APACHE_PKG_PREFIX}-${DISTNAME} | |
5 | PKGREVISION= 4 | 5 | PKGREVISION= 4 | |
6 | CATEGORIES= www perl5 | 6 | CATEGORIES= www perl5 | |
7 | MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/libapreq/} | 7 | MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/libapreq/} | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://httpd.apache.org/apreq/ | 10 | HOMEPAGE= http://httpd.apache.org/apreq/ | |
11 | COMMENT= Lots of Apache specific httpd handling modules | 11 | COMMENT= Lots of Apache specific httpd handling modules | |
12 | LICENSE= apache-2.0 | 12 | LICENSE= apache-2.0 | |
13 | 13 | |||
14 | DEPENDS+= p5-ExtUtils-XSBuilder>=0.23:../../devel/p5-ExtUtils-XSBuilder | 14 | DEPENDS+= p5-ExtUtils-XSBuilder>=0.23:../../devel/p5-ExtUtils-XSBuilder | |
15 | 15 | |||
16 | USE_TOOLS+= gmake | 16 | USE_TOOLS+= gmake | |
17 | USE_LIBTOOL= YES | 17 | USE_LIBTOOL= YES | |
18 | PERL5_PACKLIST= auto/libapreq2/.packlist | 18 | PERL5_PACKLIST= auto/libapreq2/.packlist | |
19 | 19 | |||
20 | SUBST_CLASSES+= apxs | |||
21 | SUBST_STAGE.apxs= pre-configure | |||
22 | SUBST_FILES.apxs= env/Makefile.in | |||
23 | SUBST_SED.apxs= -e "s|@APACHE2_APXS@ -i -a -n|@APACHE2_APXS@ -i -n|g" | |||
24 | SUBST_MESSAGE.apxs= Fixing module installation. | |||
25 | ||||
26 | .include "../../lang/perl5/module.mk" | 20 | .include "../../lang/perl5/module.mk" | |
27 | 21 | |||
28 | MAKE_PARAMS:= ${MAKE_PARAMS:NINSTALLDIRS=vendor} | 22 | MAKE_PARAMS:= ${MAKE_PARAMS:NINSTALLDIRS=vendor} | |
29 | MAKE_PARAMS+= --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor" | 23 | MAKE_PARAMS+= --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor" | |
30 | 24 | |||
31 | pre-configure: | 25 | pre-configure: | |
32 | ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC} | 26 | ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC} | |
33 | ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC} | 27 | ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC} | |
34 | 28 | |||
35 | #pre-configure: | 29 | #pre-configure: | |
36 | # cd ${WRKSRC} && ./buildconf | 30 | # cd ${WRKSRC} && ./buildconf | |
37 | 31 | |||
38 | .include "../../www/ap2-perl/buildlink3.mk" | 32 | .include "../../www/ap2-perl/buildlink3.mk" |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2015/11/04 02:47:21 agc Exp $ | 1 | $NetBSD: distinfo,v 1.12 2020/03/22 21:21:05 rillig Exp $ | |
2 | 2 | |||
3 | SHA1 (libapreq2-2.13.tar.gz) = db3761625a62230147896b47e9b047660b20ba28 | 3 | SHA1 (libapreq2-2.13.tar.gz) = db3761625a62230147896b47e9b047660b20ba28 | |
4 | RMD160 (libapreq2-2.13.tar.gz) = 8d7d2573624193b6dfbbe354b3771012257c1578 | 4 | RMD160 (libapreq2-2.13.tar.gz) = 8d7d2573624193b6dfbbe354b3771012257c1578 | |
5 | SHA512 (libapreq2-2.13.tar.gz) = 54553cb90c0d3f6fb34ff19364c5804976c4aff1bae551ae051fdd06f41695770f1e285c40e03dbd93ae738adc332f38f1a1994167598364071feaec833fdf05 | 5 | SHA512 (libapreq2-2.13.tar.gz) = 54553cb90c0d3f6fb34ff19364c5804976c4aff1bae551ae051fdd06f41695770f1e285c40e03dbd93ae738adc332f38f1a1994167598364071feaec833fdf05 | |
6 | Size (libapreq2-2.13.tar.gz) = 891320 bytes | 6 | Size (libapreq2-2.13.tar.gz) = 891320 bytes | |
7 | SHA1 (patch-aa) = 8fa12ccc0a959c0b2430f4a3165185d3a4f1bf03 | 7 | SHA1 (patch-aa) = f3e9e3d0ecee2f2124045af622c60b6684475e3e | |
8 | SHA1 (patch-ab) = 46d68205d1759a74ee630a2a33c6fcb29b56bbe9 | 8 | SHA1 (patch-ab) = 8318a1248de9f79228a91334bae29aa91bcbf42c | |
9 | SHA1 (patch-apreq2-config.in) = 2125b6ddcb1e95fef016f7ab154effa7219438dc | 9 | SHA1 (patch-apreq2-config.in) = 2125b6ddcb1e95fef016f7ab154effa7219438dc |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: patch-aa,v 1.1 2011/03/30 18:38:07 bouyer Exp $ | 1 | $NetBSD: patch-aa,v 1.2 2020/03/22 21:21:05 rillig Exp $ | |
2 | 2 | |||
3 | perl_install cause the Makefile in perl/ to be rebuilt with /usr/pkg/lib | 3 | perl_install causes the Makefile in perl/ to be rebuilt with /usr/pkg/lib | |
4 | as library path instead of the source tree. install the tries to relink | 4 | as library path instead of the source tree. install then tries to relink | |
5 | the target with the new path, which fails because the just-installed | 5 | the target with the new path, which fails because the just-installed | |
6 | libraries are not in the buildlink directory. | 6 | libraries are not in the buildlink directory. | |
7 | Just don't rebuild makefiles, the run-time search path has been fixed | 7 | Just don't rebuild makefiles, the run-time search path has been fixed | |
8 | by buildlink already. | 8 | by buildlink already. | |
9 | 9 | |||
10 | --- glue/Makefile.am.orig 2011-03-29 21:44:52.000000000 +0200 | 10 | --- glue/Makefile.am.orig 2011-03-29 21:44:52.000000000 +0200 | |
11 | +++ glue/Makefile.am 2011-03-29 21:45:29.000000000 +0200 | 11 | +++ glue/Makefile.am 2011-03-29 21:45:29.000000000 +0200 | |
12 | @@ -15,7 +15,6 @@ | 12 | @@ -15,7 +15,6 @@ | |
13 | cd perl; $(MAKE) test | 13 | cd perl; $(MAKE) test | |
14 | 14 | |||
15 | perl_install: | 15 | perl_install: | |
16 | - cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ | 16 | - cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ | |
17 | cd perl; $(MAKE) install | 17 | cd perl; $(MAKE) install |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: patch-ab,v 1.1 2011/03/30 18:38:07 bouyer Exp $ | 1 | $NetBSD: patch-ab,v 1.2 2020/03/22 21:21:05 rillig Exp $ | |
2 | 2 | |||
3 | perl_install cause the Makefile in perl/ to be rebuilt with /usr/pkg/lib | 3 | perl_install causes the Makefile in perl/ to be rebuilt with /usr/pkg/lib | |
4 | as library path instead of the source tree. install the tries to relink | 4 | as library path instead of the source tree. install then tries to relink | |
5 | the target with the new path, which fails because the just-installed | 5 | the target with the new path, which fails because the just-installed | |
6 | libraries are not in the buildlink directory. | 6 | libraries are not in the buildlink directory. | |
7 | Just don't rebuild makefiles, the run-time search path has been fixed | 7 | Just don't rebuild makefiles, the run-time search path has been fixed | |
8 | by buildlink already. | 8 | by buildlink already. | |
9 | 9 | |||
10 | --- glue/Makefile.in.orig 2011-03-29 21:45:01.000000000 +0200 | 10 | --- glue/Makefile.in.orig 2011-03-29 21:45:01.000000000 +0200 | |
11 | +++ glue/Makefile.in 2011-03-29 21:45:35.000000000 +0200 | 11 | +++ glue/Makefile.in 2011-03-29 21:45:35.000000000 +0200 | |
12 | @@ -265,7 +265,6 @@ | 12 | @@ -265,7 +265,6 @@ | |
13 | cd perl; $(MAKE) test | 13 | cd perl; $(MAKE) test | |
14 | 14 | |||
15 | perl_install: | 15 | perl_install: | |
16 | - cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ | 16 | - cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ | |
17 | cd perl; $(MAKE) install | 17 | cd perl; $(MAKE) install |