aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-02-19 19:16:19 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-02-19 19:16:19 +0000
commit9f07c57763d83d01c264f2a4746d402804877247 (patch)
treeecc61eb626fe4f75e978e1c0538617a190a6438f /devel
parent665b10cc4e8a72db64c982c721311281979eef73 (diff)
downloadports-9f07c57763d83d01c264f2a4746d402804877247.tar.gz
ports-9f07c57763d83d01c264f2a4746d402804877247.zip
Notes
Diffstat (limited to 'devel')
-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