diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-29 09:30:33 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-29 09:30:33 +0000 |
commit | 5af1ad66a9b1c6eccc24928e2d192b9a61a11b3a (patch) | |
tree | 98e0eab5fbc110991bf595350f00983dd67bdf01 /games/oonsoo | |
parent | Use MAKE_ARGS & PLIST/PORTDOCS (diff) |
Use MAKE_ARGS, MAKEFILE
Notes
Notes:
svn path=/head/; revision=134349
Diffstat (limited to 'games/oonsoo')
-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 |