summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-10 16:36:51 +0000
committerdholland <dholland@pkgsrc.org>2012-05-10 16:36:51 +0000
commit62bd5da0105998a7b806d0e474ec0d9d35de60c7 (patch)
treed34110e72e4722bc1c1d89dec98a8493edc7faae
parentfc165f52752b285c8149f730b9b5b0b22d00a1e1 (diff)
downloadpkgsrc-62bd5da0105998a7b806d0e474ec0d9d35de60c7.tar.gz
Explicitly disable udev if not on Linux. Fixes my build; no clue why this
apparently didn't affect Joerg's.
-rw-r--r--audio/libgpod/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile
index 3ef4bb9e779..3a6477d2e83 100644
--- a/audio/libgpod/Makefile
+++ b/audio/libgpod/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2012/04/27 12:31:33 obache Exp $
+# $NetBSD: Makefile,v 1.24 2012/05/10 16:36:51 dholland Exp $
DISTNAME= libgpod-0.8.2
PKGREVISION= 2
@@ -20,6 +20,12 @@ USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake intltool msgfmt pkg-config
GNU_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+CONFIGURE_ARGS+= --disable-udev
+.endif
+
.include "../../databases/sqlite3/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.15.0
.include "../../devel/glib2/buildlink3.mk"