pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python27 python27: set path to pkg-config in envi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4451b023325b
branches:  trunk
changeset: 382221:4451b023325b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 23 14:57:33 2022 +0000

description:
python27: set path to pkg-config in environment

avoids hardcoding WRKDIR path to it in binary

diffstat:

 lang/python27/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c52576fc5762 -r 4451b023325b lang/python27/Makefile
--- a/lang/python27/Makefile    Sat Jul 23 14:41:52 2022 +0000
+++ b/lang/python27/Makefile    Sat Jul 23 14:57:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.102 2022/05/13 19:24:02 tnn Exp $
+# $NetBSD: Makefile,v 1.103 2022/07/23 14:57:33 wiz Exp $
 
 .include "dist.mk"
 
@@ -21,6 +21,7 @@
 CONFIGURE_ARGS+=       --with-dbmliborder=ndbm:bdb
 CONFIGURE_ARGS+=       --with-system-ffi
 CONFIGURE_ARGS+=       --with-threads
+CONFIGURE_ARGS+=       PKG_CONFIG=${PREFIX}/bin/pkg-config
 CONFIGURE_ENV+=                MKDIR_P=${MKDIR:Q}
 CONFIGURE_ENV+=                OPT=${CFLAGS:M*:Q}
 PKGCONFIG_OVERRIDE+=   Misc/python.pc.in



Home | Main Index | Thread Index | Old Index