aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/lxdvdrip
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-05-25 12:33:22 +0800
committermezz <mezz@FreeBSD.org>2007-05-25 12:33:22 +0800
commit0b347d1f4ba31db921f5edb8a92bc7e3638a07e7 (patch)
tree0c22ecf7e823e671c90143f9f301e5f04f7fdbde /multimedia/lxdvdrip
parent815f8451c2665d968da59bc1c1f198371e63af82 (diff)
downloadfreebsd-ports-gnome-0b347d1f4ba31db921f5edb8a92bc7e3638a07e7.tar.gz
freebsd-ports-gnome-0b347d1f4ba31db921f5edb8a92bc7e3638a07e7.tar.zst
freebsd-ports-gnome-0b347d1f4ba31db921f5edb8a92bc7e3638a07e7.zip
Fix the build, while I am here, respect the CFLAGS.
Reported by: kris
Diffstat (limited to 'multimedia/lxdvdrip')
-rw-r--r--multimedia/lxdvdrip/Makefile2
-rw-r--r--multimedia/lxdvdrip/files/patch-dvdbackup__Makefile2
-rw-r--r--multimedia/lxdvdrip/files/patch-vamps__Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/lxdvdrip/Makefile b/multimedia/lxdvdrip/Makefile
index 1e0562a42fbf..e3cc653c4a13 100644
--- a/multimedia/lxdvdrip/Makefile
+++ b/multimedia/lxdvdrip/Makefile
@@ -70,7 +70,7 @@ post-patch:
-e 's|^.+alloca.h.+$$||' \
${WRKSRC}/dvdbackup.c
@${REINPLACE_CMD} -E \
- -e 's|fopen64|fopen|' \
+ -e 's|fopen64|fopen|g ; s|__off64_t|off_t|g' \
${WRKSRC}/dvdinfo.c \
${WRKSRC}/lxdvdrip.c
@${REINPLACE_CMD} -E \
diff --git a/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile b/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile
index 98db6b7a5ca8..9e276c23be5e 100644
--- a/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile
+++ b/multimedia/lxdvdrip/files/patch-dvdbackup__Makefile
@@ -8,7 +8,7 @@
-CC = gcc
-CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-+CFLAGS += -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
++CFLAGS += -I$(LOCALBASE)/include -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
CFLAGS += -Wall
LDFLAGS += -s
diff --git a/multimedia/lxdvdrip/files/patch-vamps__Makefile b/multimedia/lxdvdrip/files/patch-vamps__Makefile
index e5092a465d6c..3381a737e878 100644
--- a/multimedia/lxdvdrip/files/patch-vamps__Makefile
+++ b/multimedia/lxdvdrip/files/patch-vamps__Makefile
@@ -8,7 +8,7 @@
-CC = gcc
-CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-+CFLAGS += -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
++CFLAGS += -I$(LOCALBASE)/include -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
CFLAGS += -Wall
LDFLAGS += -s