diff options
author | steve <steve@FreeBSD.org> | 2000-08-08 02:55:15 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-08-08 02:55:15 +0000 |
commit | 2463f4668426827c3b5b59ccf09499cf545c306a (patch) | |
tree | 860b5f76ff2cc38c4182b585f93338c3476844f2 /multimedia | |
parent | 490e5b387bf348b7a89b39e8404180c11df8d1fc (diff) | |
download | FreeBSD-ports-2463f4668426827c3b5b59ccf09499cf545c306a.zip FreeBSD-ports-2463f4668426827c3b5b59ccf09499cf545c306a.tar.gz |
Remove i386 .o files in the post-extract target and respect CFLAGS.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/fxtv/Makefile | 3 | ||||
-rw-r--r-- | multimedia/fxtv/files/patch-ab | 32 | ||||
-rw-r--r-- | multimedia/fxtv/files/patch-ac | 11 |
3 files changed, 46 insertions, 0 deletions
diff --git a/multimedia/fxtv/Makefile b/multimedia/fxtv/Makefile index 141041d..d727e1c 100644 --- a/multimedia/fxtv/Makefile +++ b/multimedia/fxtv/Makefile @@ -30,6 +30,9 @@ USE_GMAKE= yes MAKE_FLAGS= -e MAN1= fxtv.1 +post-extract: + ${RM} ${WRKSRC}/videolib/*.o + pre-install: ${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man diff --git a/multimedia/fxtv/files/patch-ab b/multimedia/fxtv/files/patch-ab new file mode 100644 index 0000000..d3fa7e2 --- /dev/null +++ b/multimedia/fxtv/files/patch-ab @@ -0,0 +1,32 @@ +--- Makefile.orig Thu Nov 4 18:43:51 1999 ++++ Makefile Sun Aug 6 19:19:54 2000 +@@ -3,16 +3,17 @@ + # + + HAVE_XFREE86 = YES +-X11BASE = /usr/X11R6 ++X11BASE ?= /usr/X11R6 ++LOCALBASE ?= /usr/local + DEBUG = NO + OS = $(shell uname -s) + OS_MAJOR = $(shell uname -r | cut -f1 -d\.) + + override CF_VERS = -DVERS_STR=\"1.02\" + override VIDEOLIB_DIR = ./videolib +-override INC = -I$(X11BASE)/include -I/usr/local/include \ ++override INC = -I$(X11BASE)/include -I$(LOCALBASE)/include \ + -I$(VIDEOLIB_DIR) -I. +-override LIBDIRS = $(X11BASE)/lib /usr/local/lib ++override LIBDIRS = $(X11BASE)/lib $(LOCALBASE)/lib + override SHELL = /bin/sh + + # +@@ -45,7 +46,7 @@ + ifneq ($(DEBUG),NO) + override CFLAGS = -DDEBUG -g + else +- override CFLAGS = -O2 -m486 ++ override CFLAGS = #-O2 -m486 + endif + C_WARN_FLAG = -Wall + override CFLAGS += $(C_WARN_FLAG) $(INC) $(CF_VERS) diff --git a/multimedia/fxtv/files/patch-ac b/multimedia/fxtv/files/patch-ac new file mode 100644 index 0000000..2c9d4a8 --- /dev/null +++ b/multimedia/fxtv/files/patch-ac @@ -0,0 +1,11 @@ +--- videolib/Makefile.orig Sun Aug 6 19:24:57 2000 ++++ videolib/Makefile Sun Aug 6 19:25:09 2000 +@@ -15,7 +15,7 @@ + ifneq ($(DEBUG),NO) + override CFLAGS = -DDEBUG -g + else +- override CFLAGS = -DNDEBUG -O2 -m486 ++ override CFLAGS = -DNDEBUG #-O2 -m486 + endif + C_WARN_FLAG = -Wall + override CFLAGS += $(C_WARN_FLAG) $(INC) |