summaryrefslogtreecommitdiff
path: root/lang/python27/Makefile
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-07-23 21:12:48 +0000
committerkamil <kamil@pkgsrc.org>2016-07-23 21:12:48 +0000
commitfff36e1c5006a85ae85c8888b15f094683181905 (patch)
tree6b088f25e94c93a9a69e38029ef1d60d5dbc068f /lang/python27/Makefile
parenta98825873e0bc752bfb7e10d5b5a7d9813902366 (diff)
downloadpkgsrc-fff36e1c5006a85ae85c8888b15f094683181905.tar.gz
Fix build for X11_TYPE != "native"
Noted by <wiz> Solution suggested by <leot>
Diffstat (limited to 'lang/python27/Makefile')
-rw-r--r--lang/python27/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 86556b6ef68..b5311b7f19c 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -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_STAGE.cdlopen= pre-configure
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 @@ BUILDLINK_DEPMETHOD.readline= build
.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"