pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python27 Fix build for X11_TYPE != "native"



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ee867ce884a
branches:  trunk
changeset: 350109:1ee867ce884a
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Jul 23 21:12:48 2016 +0000

description:
Fix build for X11_TYPE != "native"

Noted by <wiz>
Solution suggested by <leot>

diffstat:

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

diffs (26 lines):

diff -r f3e1e8d50a17 -r 1ee867ce884a lang/python27/Makefile
--- a/lang/python27/Makefile    Sat Jul 23 18:37:00 2016 +0000
+++ b/lang/python27/Makefile    Sat Jul 23 21:12:48 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2016/07/23 18:28:26 kamil Exp $
+# $NetBSD: Makefile,v 1.65 2016/07/23 21:12:48 kamil Exp $
 
 .include "dist.mk"
 
@@ -186,6 +186,9 @@
 SUBST_FILES.cdlopen=   setup.py
 SUBST_VARS.cdlopen=    X11BASE
 
+# Required to detect X11BASE paths in dlopen(3) calls of _ctypes.so
+USE_X11=               yes
+
 SUBST_CLASSES+=                sslbase
 SUBST_MESSAGE.sslbase= Fixing find-file for openssl with SSLBASE.
 SUBST_STAGE.sslbase=   pre-configure
@@ -224,6 +227,4 @@
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
-# Required to detect X11BASE paths in dlopen(3) calls of _ctypes.so
-.include "../../mk/x11.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index