- 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:
Yukihiro Nakai 2000-04-16 03:07:42 +00:00
parent 7a175d4305
commit 6c03ef6783
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27627
2 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -1 +1,3 @@
Super Nintendo Entertainment System(SNES) Emulator
WWW: http://www.snes9x.com/