aboutsummaryrefslogtreecommitdiff
path: root/misc/vbidecode
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-03-05 03:44:32 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-03-05 03:44:32 +0000
commit4158723f9d30968038873c55746ee01994b44ffc (patch)
tree7a0984b88dee889e9ddf079755e06011762c63d0 /misc/vbidecode
parent12801fcfcde1ff2a830895c5ece6edd09cdf308d (diff)
downloadports-4158723f9d30968038873c55746ee01994b44ffc.tar.gz
ports-4158723f9d30968038873c55746ee01994b44ffc.zip
add USE_GCC=2.95, respect CXX, and unbreak this port on -CURRENT.
PR: 63124 Submitted by: leeym Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=102971
Diffstat (limited to 'misc/vbidecode')
-rw-r--r--misc/vbidecode/Makefile9
-rw-r--r--misc/vbidecode/files/patch-ab2
2 files changed, 3 insertions, 8 deletions
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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>
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