summaryrefslogtreecommitdiff
path: root/multimedia/vls
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vls')
-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