summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-01 16:41:35 +0000
committerhans <hans@pkgsrc.org>2012-03-01 16:41:35 +0000
commit9144b2e955bad15288ac2f292166cdd135eabb01 (patch)
treeb9559b17148846de1063d2e041450fd6ea3cfdcb /audio
parent9c47fbd37d5995ca0161564c9a6461ea77d24a4d (diff)
downloadpkgsrc-9144b2e955bad15288ac2f292166cdd135eabb01.tar.gz
Fix build on SunOS.
- uses fts functions - compile libnbcompat with -fPIC
Diffstat (limited to 'audio')
-rw-r--r--audio/libifp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/libifp/Makefile b/audio/libifp/Makefile
index b514cab70b8..9e4344454fd 100644
--- a/audio/libifp/Makefile
+++ b/audio/libifp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/02/16 08:56:08 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2012/03/01 16:41:35 hans Exp $
#
DISTNAME= libifp-1.0.0.2
@@ -16,6 +16,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libusb=${BUILDLINK_PREFIX.libusb}
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
+USE_FEATURES+= fts_open
+
+CFLAGS.SunOS+= -fPIC
.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"