diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-11-11 14:08:41 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-11-11 14:08:41 +0800 |
commit | ce73def9ef55e239d15b2ce6189118624c01fa99 (patch) | |
tree | 671726db87237ef7b9695eabff0152975ca1902f /emulators/atari800/files | |
parent | 259b7d91b33972e38744ad99f45e6bfe4bee03e9 (diff) | |
download | freebsd-ports-gnome-ce73def9ef55e239d15b2ce6189118624c01fa99.tar.gz freebsd-ports-gnome-ce73def9ef55e239d15b2ce6189118624c01fa99.tar.zst freebsd-ports-gnome-ce73def9ef55e239d15b2ce6189118624c01fa99.zip |
- Support CC/X11BASE properly
- Support install macros
- freebsd.org -> FreeBSD.org
- Change location of data files from lib/ to share/
- Exclude GPL doc from package
PR: 22742
Submitted by: Ports Fury
Diffstat (limited to 'emulators/atari800/files')
-rw-r--r-- | emulators/atari800/files/patch-aa | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/emulators/atari800/files/patch-aa b/emulators/atari800/files/patch-aa index 4671df3467d9..d10b78b80558 100644 --- a/emulators/atari800/files/patch-aa +++ b/emulators/atari800/files/patch-aa @@ -1,12 +1,16 @@ ---- Makefile.orig Sun Feb 6 16:38:57 2000 -+++ Makefile Sun Feb 6 16:40:45 2000 -@@ -6,12 +6,12 @@ +--- Makefile.unix Sat Feb 21 10:39:13 1998 ++++ Makefile Wed Nov 8 01:54:54 2000 +@@ -4,14 +4,14 @@ + # if they cause a problem on your system. + # - CC = gcc +-CC = gcc ++CC ?= gcc CPPFLAGS = $(OTHER) -CFLAGS = -c -O6 -DGNU_C -+CFLAGS+= -c -DGNU_C - LD = gcc +-LD = gcc ++CFLAGS += -c -DGNU_C ++LD = $(CC) LDFLAGS = LDLIBS = -lm @@ -15,6 +19,29 @@ BIN_PATH = ${PREFIX}/bin LIB_PATH = ${PREFIX}/lib MAN_PATH = ${PREFIX}/man +@@ -195,16 +195,16 @@ + OBJ="atari_curses.o" + + freebsd-x11 : +- make atari800 \ +- CPPFLAGS="-I/usr/X11R6/include" \ +- LDFLAGS="-L/usr/X11R6/lib" \ ++ $(MAKE) atari800 \ ++ CPPFLAGS="-I${X11BASE}/include" \ ++ LDFLAGS="-L${X11BASE}/lib" \ + LDLIBS="-lX11 -lm" \ + OBJ="atari_x11.o" + + freebsd-x11-shm : +- make atari800 \ +- CPPFLAGS="-I/usr/X11R6/include -DSHM" \ +- LDFLAGS="-L/usr/X11R6/lib" \ ++ $(MAKE) atari800 \ ++ CPPFLAGS="-I${X11BASE}/include -DSHM" \ ++ LDFLAGS="-L${X11BASE}/lib" \ + LDLIBS="-lX11 -lXext -lm" \ + OBJ="atari_x11.o" + @@ -246,7 +246,6 @@ platform.h @@ -23,3 +50,11 @@ configure : configure.o prompts.o $(LD) $(LDFLAGS) configure.o prompts.o $(LDLIBS) -o configure +@@ -348,5 +347,5 @@ + chmod 4755 ${BIN_PATH}/atari800 + + install : +- cp atari800 ${BIN_PATH}/atari800 +- cp atari800.man ${MAN_PATH}/man1/atari800.1 ++ ${BSD_INSTALL_PROGRAM} atari800 ${BIN_PATH}/atari800 ++ ${BSD_INSTALL_MAN} atari800.man ${MAN_PATH}/man1/atari800.1 |