perl_install cause the Makefile in perl/ to be rebuilt with /usr/pkg/lib

as library path instead of the source tree. install the tries to relink
the target with the new path, which fails because the just-installed
libraries are not in the buildlink directory.
Just don't rebuild makefiles, the run-time search path has been fixed
by buildlink already.

should fix PR 43385. OK wiz@
This commit is contained in:
bouyer 2011-03-30 18:38:07 +00:00
parent dc41d3ffd1
commit e2782e02c8
3 changed files with 41 additions and 1 deletions

View file

@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.7 2010/02/23 20:00:54 sno Exp $
$NetBSD: distinfo,v 1.8 2011/03/30 18:38:07 bouyer Exp $
SHA1 (libapreq2-2.12.tar.gz) = 0199b9d7a6d85b2df849f29e41a4a4d7a83a2a3f
RMD160 (libapreq2-2.12.tar.gz) = 576b3a514e943ef3c28c45530d9e5a6d75132902
Size (libapreq2-2.12.tar.gz) = 859412 bytes
SHA1 (patch-aa) = 8fa12ccc0a959c0b2430f4a3165185d3a4f1bf03
SHA1 (patch-ab) = 46d68205d1759a74ee630a2a33c6fcb29b56bbe9

View file

@ -0,0 +1,19 @@
$NetBSD: patch-aa,v 1.1 2011/03/30 18:38:07 bouyer Exp $
perl_install cause the Makefile in perl/ to be rebuilt with /usr/pkg/lib
as library path instead of the source tree. install the tries to relink
the target with the new path, which fails because the just-installed
libraries are not in the buildlink directory.
Just don't rebuild makefiles, the run-time search path has been fixed
by buildlink already.
--- glue/Makefile.am.orig 2011-03-29 21:44:52.000000000 +0200
+++ glue/Makefile.am 2011-03-29 21:45:29.000000000 +0200
@@ -15,7 +15,6 @@
cd perl; $(MAKE) test
perl_install:
- cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@
cd perl; $(MAKE) install
perl_clean:

View file

@ -0,0 +1,19 @@
$NetBSD: patch-ab,v 1.1 2011/03/30 18:38:07 bouyer Exp $
perl_install cause the Makefile in perl/ to be rebuilt with /usr/pkg/lib
as library path instead of the source tree. install the tries to relink
the target with the new path, which fails because the just-installed
libraries are not in the buildlink directory.
Just don't rebuild makefiles, the run-time search path has been fixed
by buildlink already.
--- glue/Makefile.in.orig 2011-03-29 21:45:01.000000000 +0200
+++ glue/Makefile.in 2011-03-29 21:45:35.000000000 +0200
@@ -265,7 +265,6 @@
cd perl; $(MAKE) test
perl_install:
- cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@
cd perl; $(MAKE) install
perl_clean: