pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-PkgConfig



Module Name:    pkgsrc
Committed By:   otis
Date:           Mon Sep  7 22:07:15 UTC 2020

Modified Files:
        pkgsrc/devel/p5-PkgConfig: Makefile

Log Message:
devel/p5-PkgConfig: Fix aboslute paths

Fix absolute path to perl


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/p5-PkgConfig/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-PkgConfig/Makefile
diff -u pkgsrc/devel/p5-PkgConfig/Makefile:1.1 pkgsrc/devel/p5-PkgConfig/Makefile:1.2
--- pkgsrc/devel/p5-PkgConfig/Makefile:1.1      Mon Sep  7 20:06:20 2020
+++ pkgsrc/devel/p5-PkgConfig/Makefile  Mon Sep  7 22:07:14 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/09/07 20:06:20 otis Exp $
+# $NetBSD: Makefile,v 1.2 2020/09/07 22:07:14 otis Exp $
 
 DISTNAME=              PkgConfig-0.24026
 PKGNAME=               p5-${DISTNAME}
@@ -10,6 +10,12 @@ HOMEPAGE=            https://metacpan.org/pod/PkgC
 COMMENT=               Pure-Perl Core-Only replacement for pkg-config
 LICENSE=               ${PERL5_LICENSE}
 
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     post-extract
+SUBST_MESSAGE.paths=   Fixing absolute paths.
+SUBST_FILES.paths=     lib/PkgConfig.pm
+SUBST_SED.paths=       -e 's,/usr/bin,${PREFIX}/bin,g'
+
 PERL5_PACKLIST=                auto/PkgConfig/.packlist
 
 .include "../../lang/perl5/module.mk"



Home | Main Index | Thread Index | Old Index