pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/vls USE_LANGUAGES, include fix for DragonFl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7bea317d6a2e
branches: trunk
changeset: 509696:7bea317d6a2e
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Mar 13 18:24:32 2006 +0000
description:
USE_LANGUAGES, include fix for DragonFly and FreeBSD, honour CXXFLAGS as
the Makefiles name them CCFLAGS (ARGH!).
diffstat:
multimedia/vls/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 8c7b8bfc8f4e -r 7bea317d6a2e multimedia/vls/Makefile
--- a/multimedia/vls/Makefile Mon Mar 13 17:32:39 2006 +0000
+++ b/multimedia/vls/Makefile Mon Mar 13 18:24:32 2006 +0000
@@ -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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index