summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-13 18:24:32 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-13 18:24:32 +0000
commite06a7149843ee29daa52093b3f2f834044ee363e (patch)
tree07fca541514df5cec42660d9a91892e9cf981cd2 /multimedia
parent8b501da43393bc6952428071e8c0647d06671a06 (diff)
downloadpkgsrc-e06a7149843ee29daa52093b3f2f834044ee363e.tar.gz
USE_LANGUAGES, include fix for DragonFly and FreeBSD, honour CXXFLAGS as
the Makefiles name them CCFLAGS (ARGH!).
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vls/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/multimedia/vls/Makefile b/multimedia/vls/Makefile
index 5df5217d291..fb432caf73b 100644
--- a/multimedia/vls/Makefile
+++ b/multimedia/vls/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:16 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2006/03/13 18:24:32 joerg Exp $
#
DISTNAME= vls-0.5.6
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.videolan.org/
COMMENT= VideoLAN Server
+USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
# two versions of 0.5.6 out
@@ -17,6 +18,14 @@ DIST_SUBDIR= ${PKGNAME_NOREV}
CONFIGURE_ARGS+= --with-dvbpsi=${BUILDLINK_PREFIX.libdvbpsi}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
+CXXFLAGS+= -D__STDC_LIMIT_MACROS
+.endif
+
+ALL_ENV+= CCFLAGS=${CXXFLAGS:M*:Q}
+
EGDIR= ${PREFIX}/share/examples/vls
CONF_FILES= ${EGDIR}/vls.cfg ${PKG_SYSCONFDIR}/vls.cfg