From 19aac090ad9cca76893f03499252b166e8c8fd9c Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 13 Mar 2006 18:24:32 +0000 Subject: USE_LANGUAGES, include fix for DragonFly and FreeBSD, honour CXXFLAGS as the Makefiles name them CCFLAGS (ARGH!). --- multimedia/vls/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3