aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpgtx
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-06-12 16:53:21 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-06-12 16:53:21 +0000
commit1035e1fb057a29adce6386e919eb2146032630de (patch)
tree1f5e1301897fbff5f057e7782e5d343c4316cf7c /multimedia/mpgtx
parent0c466d3efb49d8f5f1949c0e276008b137a0665a (diff)
downloadports-1035e1fb057a29adce6386e919eb2146032630de.tar.gz
ports-1035e1fb057a29adce6386e919eb2146032630de.zip
Notes
Diffstat (limited to 'multimedia/mpgtx')
-rw-r--r--multimedia/mpgtx/Makefile5
-rw-r--r--multimedia/mpgtx/files/patch-common.hh11
2 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/mpgtx/Makefile b/multimedia/mpgtx/Makefile
index a4d2ee7d2c76..6c68e00133ba 100644
--- a/multimedia/mpgtx/Makefile
+++ b/multimedia/mpgtx/Makefile
@@ -1,4 +1,3 @@
-# ex:ts=8
# New ports collection makefile for: mpgtx
# Date created: May 15, 2001
# Whom: ijliao
@@ -8,7 +7,7 @@
PORTNAME= mpgtx
PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -31,7 +30,7 @@ MLINKS= mpgtx.1 mpgcat.1 \
pre-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g ; \
- s|\$$cflags \$$optimization_cflags|${CFLAGS}|g ; \
+ s|="\$$cflags \$$optimization_cflags|+="${CFLAGS}|g ; \
s|g++|${CXX}|g; s|-pedantic||' ${WRKSRC}/configure
do-install:
diff --git a/multimedia/mpgtx/files/patch-common.hh b/multimedia/mpgtx/files/patch-common.hh
new file mode 100644
index 000000000000..21f1cff66dfb
--- /dev/null
+++ b/multimedia/mpgtx/files/patch-common.hh
@@ -0,0 +1,11 @@
+--- common.hh.orig Mon Jun 12 11:46:27 2006
++++ common.hh Mon Jun 12 11:47:03 2006
+@@ -208,7 +208,7 @@
+ //@{
+
+ #ifdef _LARGEFILE_SOURCE
+-#ifdef _MACOSX
++#if defined (_MACOSX) || defined (__FreeBSD__)
+ #define _OFF_d "%qd"
+ #define _OFF_x "%qx"
+ #else