mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Support CFLAGS/CXXFLAGS/LOCALBASE/X11BASE properly
- Add WWW: line into pkg/DESCR PR: ports/17462 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
parent
7a175d4305
commit
6c03ef6783
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27627
@ -1,5 +1,5 @@
|
||||
--- Makefile.orig Mon Jan 24 16:15:50 2000
|
||||
+++ Makefile Wed Mar 8 23:24:45 2000
|
||||
+++ Makefile Wed Mar 15 02:23:16 2000
|
||||
@@ -50,11 +50,6 @@
|
||||
UNZIPDEFINES=-DUNZIP_SUPPORT
|
||||
endif
|
||||
@ -22,16 +22,17 @@
|
||||
+CC ?= gcc
|
||||
NASM = nasm
|
||||
|
||||
-INCLUDES=-I/usr/X11R6/include -I/usr/local/include
|
||||
+ifdef THREAD_SOUND
|
||||
+CPUDEFINES += -DUSE_THREADS
|
||||
+CC += -pthread
|
||||
+CCC += -pthread
|
||||
+endif
|
||||
+
|
||||
INCLUDES=-I/usr/X11R6/include -I/usr/local/include
|
||||
+INCLUDES=-I${X11BASE}/include -I${LOCALBASE}/include
|
||||
|
||||
-OPTIMISE=-O6 -mpentium -fomit-frame-pointer -fno-exceptions
|
||||
+OPTIMISE= $(CXXFLAGS) -O6 -mpentium -fomit-frame-pointer -fno-exceptions
|
||||
+OPTIMISE= $(CXXFLAGS)
|
||||
|
||||
CCFLAGS = $(OPTIMISE) -DMITSHM \
|
||||
-Ii386 \
|
||||
@ -52,7 +53,7 @@
|
||||
# symbol error when run on a Redhat box.
|
||||
|
||||
-LDLIBS = -L/usr/X11R6/lib frame.o
|
||||
+LDLIBS = -L/usr/X11R6/lib
|
||||
+LDLIBS = -L${X11BASE}/lib
|
||||
|
||||
ifdef GLIDE
|
||||
ifdef NETPLAY
|
||||
|
@ -1 +1,3 @@
|
||||
Super Nintendo Entertainment System(SNES) Emulator
|
||||
|
||||
WWW: http://www.snes9x.com/
|
||||
|
Loading…
Reference in New Issue
Block a user