mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Use MAKE_ARGS, MAKEFILE
This commit is contained in:
parent
42cec83b66
commit
5af1ad66a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134349
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user