aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2013-07-20 15:33:10 +0800
committerdecke <decke@FreeBSD.org>2013-07-20 15:33:10 +0800
commitc3298d6a3e55fd90fe492bdf9f7483d38ff719ea (patch)
tree78bceb73be0735c03e57e57de69ec829dc6de6ff /multimedia
parentf75dbb4e9006afa7258eb77807044de1bcc7b627 (diff)
downloadfreebsd-ports-graphics-c3298d6a3e55fd90fe492bdf9f7483d38ff719ea.tar.gz
freebsd-ports-graphics-c3298d6a3e55fd90fe492bdf9f7483d38ff719ea.tar.zst
freebsd-ports-graphics-c3298d6a3e55fd90fe492bdf9f7483d38ff719ea.zip
- Add support for FreeBSD 8.x
Submitted by: Juergen Lock <nox@FreeBSD.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/tvheadend/Makefile7
-rw-r--r--multimedia/tvheadend/pkg-message1
2 files changed, 6 insertions, 2 deletions
diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makefile
index 1dfa1695655..1a1d906a79b 100644
--- a/multimedia/tvheadend/Makefile
+++ b/multimedia/tvheadend/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tvheadend
PORTVERSION= 3.4.0.20130714.2
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://people.freebsd.org/~decke/distfiles/
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} dvb-scan-tables-20130714.tar.gz
@@ -40,7 +41,11 @@ CFLAGS+= -Wno-conversion -Wno-int-to-pointer-cast
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900000
-BROKEN= Does not compile on FreeBSD < 9.0
+.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "mips64"
+CFLAGS+= -D__WORDSIZE=64
+.else
+CFLAGS+= -D__WORDSIZE=32
+.endif
.endif
.if ( !empty(CC:M*clang*) || ${OSVERSION} >= 1000024 )
diff --git a/multimedia/tvheadend/pkg-message b/multimedia/tvheadend/pkg-message
index e8571f69a49..ff8070abdc1 100644
--- a/multimedia/tvheadend/pkg-message
+++ b/multimedia/tvheadend/pkg-message
@@ -9,7 +9,6 @@ Known issues:
- no libav support
- no libdvbcsa support
- no rc.d script
-- does not compile on FreeBSD 8.x
Patches, feedback and help are always welcome!