summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-12-08 20:45:42 +0000
committermarino <marino@pkgsrc.org>2011-12-08 20:45:42 +0000
commitbfbfb543b4b8c37512f07db332bb5120f3c08f7a (patch)
treef2115d68429aaef9abd1c063e105cd4f5987a5bc
parentaa18b90f3d07beaf18a24ebd8013d723e88a8f6f (diff)
downloadpkgsrc-bfbfb543b4b8c37512f07db332bb5120f3c08f7a.tar.gz
devel/py-pysvn: Fix DragonFly
DragonFly no longer has libresolv, it's part of libc.
-rw-r--r--devel/py-pysvn/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/py-pysvn/Makefile b/devel/py-pysvn/Makefile
index 4b75c49fee3..1436901af5c 100644
--- a/devel/py-pysvn/Makefile
+++ b/devel/py-pysvn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/12/02 07:13:49 sbd Exp $
+# $NetBSD: Makefile,v 1.7 2011/12/08 20:45:42 marino Exp $
#
VERS= 1.7.2
@@ -28,6 +28,12 @@ TESTDIR= Tests
BUILD_DIRS= ${PSVNSRC}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+BUILDLINK_TRANSFORM+= rm:-lresolv
+.endif
+
.include "../../lang/python/pyversion.mk"
do-configure: