diff options
author | ade <ade@FreeBSD.org> | 2000-10-14 19:49:18 +0000 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-10-14 19:49:18 +0000 |
commit | dd6c9792c3ceaba29351e57eaa0cfd3d14156cbd (patch) | |
tree | 324cee0357164c3f7b6883548015955143055c1c /games/xoids/files | |
parent | e3aefdf7fd4643b57a537c197d1bae59ec21048d (diff) | |
download | FreeBSD-ports-dd6c9792c3ceaba29351e57eaa0cfd3d14156cbd.zip FreeBSD-ports-dd6c9792c3ceaba29351e57eaa0cfd3d14156cbd.tar.gz |
Fix Imakefile breakage under XFree86 4.x
Respect CFLAGS
PR: 21976
Submitted by: Ports Fury
Diffstat (limited to 'games/xoids/files')
-rw-r--r-- | games/xoids/files/patch-aa | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/games/xoids/files/patch-aa b/games/xoids/files/patch-aa index a81058e..a8aeac5 100644 --- a/games/xoids/files/patch-aa +++ b/games/xoids/files/patch-aa @@ -1,6 +1,20 @@ ---- Imakefile.orig Tue Jun 25 01:42:14 1996 -+++ Imakefile Sun Jun 20 19:18:26 1999 -@@ -19,11 +19,13 @@ +--- Imakefile.orig Tue Jun 25 15:42:14 1996 ++++ Imakefile Sat Oct 14 00:59:00 2000 +@@ -6,11 +6,12 @@ + XPM_INC_FLAGS = -I/usr/local/xpm/include + XPM_LIB_FLAGS = -L/usr/local/xpm/lib -lXpm + ++MANSUFFIX = 6 ++ + XCOMM You shouldn't have to change anything below unless you need to + XCOMM add a new architecture. + #define MyNull + +-CDEBUGFLAGS = -O + OS_C_FLAGS = + OS_LIB_FLAGS = + OS_DEFINES = +@@ -19,25 +20,23 @@ #if defined(SunArchitecture) #endif @@ -10,8 +24,23 @@ #endif #if defined(FreeBSDArchitecture) -+XPM_INC_FLAGS = -I$(X11BASE)/include/X11 ++XPM_INC_FLAGS = -I$(INCROOT)/X11 +XPM_LIB_FLAGS = -lXpm #endif SRCS = init.c oids.c oids_x.c + OBJS = init.o oids.o oids_x.o + + INCLUDES = $(XPM_INC_FLAGS) +-CCOPTIONS = $(OS_C_FLAGS) + DEFINES = $(OS_DEFINES) + EXTRA_LIBRARIES = $(XPM_LIB_FLAGS) -lX11 -lm $(OS_LIB_FLAGS) + +-AllTarget(xoids) +-NormalProgramTarget(xoids, $(OBJS), MyNull, MyNull, MyNull) +-InstallProgram(xoids,$(BINDIR)) +-DependTarget() ++ComplexProgramTarget(xoids) + + XCOMM End of Imakefile + |