summaryrefslogtreecommitdiff
path: root/devel/libhid
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-12-18 10:51:02 +0000
committerjoerg <joerg@pkgsrc.org>2014-12-18 10:51:02 +0000
commit24ecb186762f8b4163304bf62b659ac8d029a9e0 (patch)
tree1cfd6b5a41891ff42e5a058b4dfb470f729622f3 /devel/libhid
parenteb31bfad70a8147bc323849e3ddb4f9a40d1c0a9 (diff)
downloadpkgsrc-24ecb186762f8b4163304bf62b659ac8d029a9e0.tar.gz
Remove redundant includes. Tell configure explicitly how to link Python.
Diffstat (limited to 'devel/libhid')
-rw-r--r--devel/libhid/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/libhid/Makefile b/devel/libhid/Makefile
index 3672235ba1a..636e9a2ccfe 100644
--- a/devel/libhid/Makefile
+++ b/devel/libhid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/05/09 07:37:00 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2014/12/18 10:51:02 joerg Exp $
DISTNAME= libhid-0.2.16
PKGREVISION= 1
@@ -20,8 +20,8 @@ USE_LIBTOOL= yes
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.2.16
-.include "../../lang/python/pyversion.mk"
-.include "../../lang/${PYPACKAGE}/buildlink3.mk"
+CONFIGURE_ENV+= PYTHON_LDFLAGS="-L${PREFIX}/lib -lpython${PYVERSSUFFIX}"
+
.include "../../lang/python/application.mk"
# PLIST_SUBST+= PYSITELIB=${PYSITELIB}
#.include "../../lang/python/extension.mk"