diff options
author | wiz <wiz@pkgsrc.org> | 2022-07-23 14:57:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-07-23 14:57:33 +0000 |
commit | c64b67d00e1ab2389f8df445f15bafb270d20698 (patch) | |
tree | d4dc98f0ac2edd8a3b7a32907e34f94d903bf505 /lang | |
parent | e51bbb14e805ace60700aa6fe11d1b94afd5d36c (diff) | |
download | pkgsrc-c64b67d00e1ab2389f8df445f15bafb270d20698.tar.gz |
python27: set path to pkg-config in environment
avoids hardcoding WRKDIR path to it in binary
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python27/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index 466bb8a4417..b4624614b30 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -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+= --enable-shared 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 |