diff options
author | Michael Haro <mharo@FreeBSD.org> | 2000-04-02 01:00:24 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2000-04-02 01:00:24 +0000 |
commit | 4aed6f1e6536c2d3be11d0ac7596e10b27791cb5 (patch) | |
tree | 021f61372fc74d69c6dbb086d15d03b8a2cae67e /games/xtruco | |
parent | 77140e508e938432f22e37e787489915e2d78661 (diff) | |
download | ports-4aed6f1e6536c2d3be11d0ac7596e10b27791cb5.tar.gz ports-4aed6f1e6536c2d3be11d0ac7596e10b27791cb5.zip |
Notes
Diffstat (limited to 'games/xtruco')
-rw-r--r-- | games/xtruco/Makefile | 14 | ||||
-rw-r--r-- | games/xtruco/files/patch-aa | 17 |
2 files changed, 16 insertions, 15 deletions
diff --git a/games/xtruco/Makefile b/games/xtruco/Makefile index 42e364a1eb60..377e3bbd9261 100644 --- a/games/xtruco/Makefile +++ b/games/xtruco/Makefile @@ -6,17 +6,17 @@ # $FreeBSD$ # -DISTNAME= xtruco -PKGNAME= xtruco-1.0 -CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_XCONTRIB} +DISTNAME= xtruco +PKGNAME= xtruco-1.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= games -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org -USE_X_PREFIX= yes +USE_X_PREFIX= yes do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/xtruco ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/xtruco ${PREFIX}/bin .include <bsd.port.mk> diff --git a/games/xtruco/files/patch-aa b/games/xtruco/files/patch-aa index 9fc59b65d658..fad5bbb28e4d 100644 --- a/games/xtruco/files/patch-aa +++ b/games/xtruco/files/patch-aa @@ -1,32 +1,33 @@ ---- Makefile Mon Oct 21 19:18:27 1996 -+++ /home/andy/tmp/wrk/Makefile Sat Mar 14 20:08:33 1998 -@@ -6,17 +6,17 @@ +--- Makefile.orig Tue Oct 22 04:18:27 1996 ++++ Makefile Fri Mar 31 05:23:20 2000 +@@ -6,17 +6,18 @@ # # ################################ -INCLUDES = -I/usr/X11/include -+INCLUDES = -I/usr/X11R6/include ++INCLUDES = -I${X11BASE}/include # Remove '-DIPC_OK' if you have problems with 'shared-memory' (IPC routines) OPC = -DIPC_OK -LIBRARIES = -lX11 -L/usr/X11/lib -+LIBRARIES = -lX11 -L/usr/X11R6/lib ++LIBRARIES = -lX11 -L${X11BASE}/lib CFILES = xtruco.c bitmap.c cursor.c display.c event.c gc.c pixmap.c\ topwind.c window.c color.c button.c font.c read.c -CC = gcc -O2 -g -Dlinux -DX11R6 $(INCLUDES) $(OPC) -+CC = gcc -DX11R6 $(INCLUDES) $(OPC) ++CC ?= gcc ++CFLAGS += -DX11R6 $(INCLUDES) $(OPC) PROG=xtruco -@@ -25,7 +25,7 @@ +@@ -25,7 +26,7 @@ OBJS=$(CFILES:.c=.o) all: $(OBJS) - $(CC) -o $(PROG) $(LIBRARIES) $(OBJS) -+ $(CC) ${CFLAGS} -o $(PROG) $(LIBRARIES) $(OBJS) ++ $(CC) $(CFLAGS) -o $(PROG) $(LIBRARIES) $(OBJS) # strip ${PROG} clean: |