From 4158723f9d30968038873c55746ee01994b44ffc Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Fri, 5 Mar 2004 03:44:32 +0000 Subject: add USE_GCC=2.95, respect CXX, and unbreak this port on -CURRENT. PR: 63124 Submitted by: leeym Approved by: maintainer timeout --- misc/vbidecode/Makefile | 9 ++------- misc/vbidecode/files/patch-ab | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'misc/vbidecode') diff --git a/misc/vbidecode/Makefile b/misc/vbidecode/Makefile index 1c2fa68f6363..8d0dbc915ce8 100644 --- a/misc/vbidecode/Makefile +++ b/misc/vbidecode/Makefile @@ -19,15 +19,10 @@ COMMENT= Get Videotext/Teletext (.vtx) and other VBI data from TV channels PLIST_FILES= bin/vbidecode WRKSRC= ${WRKDIR}/bttv/apps/vbidecode - -.include - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif +USE_GCC= 2.95 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vbidecode ${PREFIX}/bin @${STRIP_CMD} ${PREFIX}/bin/vbidecode -.include +.include diff --git a/misc/vbidecode/files/patch-ab b/misc/vbidecode/files/patch-ab index 3014ce938552..6b038d49c7ad 100644 --- a/misc/vbidecode/files/patch-ab +++ b/misc/vbidecode/files/patch-ab @@ -5,7 +5,7 @@ vbidecode: vbidecode.cc - g++ -g -O6 -fomit-frame-pointer -m486 -funroll-loops -o vbidecode vbidecode.cc -+ g++ -g -O6 -fomit-frame-pointer -funroll-loops -o vbidecode vbidecode.cc ++ ${CXX} -g -O6 -fomit-frame-pointer -funroll-loops -o vbidecode vbidecode.cc clean: rm -f vbidecode -- cgit v1.2.3