aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pwlib
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-02-20 03:16:19 +0800
committernetchild <netchild@FreeBSD.org>2006-02-20 03:16:19 +0800
commit081561f895cce61e5b1f5d6742cc1bbdd2560dfa (patch)
tree17be78defd9b5a6422c6c936bd28bab1e985fd8d /devel/pwlib
parent4888739ebc64090e3f6fd1bb24466b3cd0f24fdc (diff)
downloadfreebsd-ports-gnome-081561f895cce61e5b1f5d6742cc1bbdd2560dfa.tar.gz
freebsd-ports-gnome-081561f895cce61e5b1f5d6742cc1bbdd2560dfa.tar.zst
freebsd-ports-gnome-081561f895cce61e5b1f5d6742cc1bbdd2560dfa.zip
Fix the plist on architectures where bktr(4) isn't available.
Approved by: maintainer Noticed by: kris/pointyhat
Diffstat (limited to 'devel/pwlib')
-rw-r--r--devel/pwlib/Makefile6
-rw-r--r--devel/pwlib/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/pwlib/Makefile b/devel/pwlib/Makefile
index dabfaaf78e06..a09a85f068f3 100644
--- a/devel/pwlib/Makefile
+++ b/devel/pwlib/Makefile
@@ -64,6 +64,12 @@ USE_OPENLDAP= yes
CFLAGS+= -fPIC
.endif
+.if (${ARCH} == "i386") || (${ARCH} == "ia64")
+PLIST_SUB+= BSDVIDEO=""
+.else
+PLIST_SUB+= BSDVIDEO="@comment"
+.endif
+
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" SDLLIBDIR="${LOCALBASE}/lib"
MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" SDLLIBDIR="${LOCALBASE}/lib" STDCCFLAGS+="-I${LOCALBASE}"
diff --git a/devel/pwlib/pkg-plist b/devel/pwlib/pkg-plist
index 57976081e5c0..0c6d308c57bf 100644
--- a/devel/pwlib/pkg-plist
+++ b/devel/pwlib/pkg-plist
@@ -158,7 +158,7 @@ lib/libpt_r.so.1
lib/libpt_r.so.1.9
lib/libpt_r.so.1.9.2
lib/pwlib/devices/sound/oss_pwplugin.so
-lib/pwlib/devices/videoinput/bsdvideo_pwplugin.so
+%%BSDVIDEO%%lib/pwlib/devices/videoinput/bsdvideo_pwplugin.so
@dirrm lib/pwlib/devices/sound
@dirrm lib/pwlib/devices/videoinput
@dirrm lib/pwlib/devices