diff options
-rw-r--r-- | games/oonsoo/Makefile | 7 | ||||
-rw-r--r-- | games/oonsoo/files/patch-aa | 23 |
2 files changed, 4 insertions, 26 deletions
diff --git a/games/oonsoo/Makefile b/games/oonsoo/Makefile index 2835bc5b572a..66c277704943 100644 --- a/games/oonsoo/Makefile +++ b/games/oonsoo/Makefile @@ -16,9 +16,10 @@ COMMENT= A solitaire card game for X PLIST_FILES= bin/oonsoo USE_XLIB= yes - -pre-patch: - @${CP} ${WRKSRC}/Makefile.Linux ${WRKSRC}/Makefile +MAKEFILE= Makefile.Linux +MAKE_ARGS= CC="${CXX}" CPPFLAGS="${CXXFLAGS} -ansi" \ + SYS_INCLUDE="-I${X11BASE}/include" \ + SYS_LIBS="-L${X11BASE}/lib -lX11" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/oonsoo ${PREFIX}/bin diff --git a/games/oonsoo/files/patch-aa b/games/oonsoo/files/patch-aa deleted file mode 100644 index f337d33ce630..000000000000 --- a/games/oonsoo/files/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.orig Thu Feb 24 03:29:29 2000 -+++ Makefile Thu Feb 24 03:42:58 2000 -@@ -6,16 +6,16 @@ - ############################################################################### - - ## C++ compiler to use --CC=g++ -+CC = ${CXX} - - ## C++ compiler flags --CPPFLAGS=-O -ansi -+CPPFLAGS = ${CXXFLAGS} -ansi - - ## System Includes --SYS_INCLUDES = -+SYS_INCLUDE = -I${X11BASE}/include - - ## System Libraries --SYS_LIBS = -L/usr/X11R6/lib -lX11 -+SYS_LIBS = -L${X11BASE}/lib -lX11 - - ## Archiver - AR=ar |