diff options
author | joerg <joerg> | 2006-03-13 18:24:32 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-13 18:24:32 +0000 |
commit | f1faf8dfdb306f3873232385742227644ba0abc7 (patch) | |
tree | 07fca541514df5cec42660d9a91892e9cf981cd2 /multimedia | |
parent | d9efb26ccb7945a6b449cff2042e8f9ff611db07 (diff) | |
download | pkgsrc-f1faf8dfdb306f3873232385742227644ba0abc7.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/Makefile | 11 |
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 |