diff options
author | ak <ak@FreeBSD.org> | 2014-05-30 13:52:53 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2014-05-30 13:52:53 +0800 |
commit | 16ff1ac4a9e92ca79ecf0add77742153aa1bf392 (patch) | |
tree | 10e7844a179c6aaa14eada32dc4ca6a39919cfb1 /games | |
parent | ee0f14ed9262ea6780e46663549394b5a4cfb7a3 (diff) | |
download | freebsd-ports-gnome-16ff1ac4a9e92ca79ecf0add77742153aa1bf392.tar.gz freebsd-ports-gnome-16ff1ac4a9e92ca79ecf0add77742153aa1bf392.tar.zst freebsd-ports-gnome-16ff1ac4a9e92ca79ecf0add77742153aa1bf392.zip |
- Revert per maintainer's request
Requested by: Dominic Fandrey <kamikaze@bsdforen.de> (maintainer)
Approved by: portmgr (NO_STAGE override)
Diffstat (limited to 'games')
-rw-r--r-- | games/ioquake3-server/Makefile | 1 | ||||
-rw-r--r-- | games/ioquake3/Makefile | 10 | ||||
-rw-r--r-- | games/ioquake3/files/patch-Makefile | 43 |
3 files changed, 30 insertions, 24 deletions
diff --git a/games/ioquake3-server/Makefile b/games/ioquake3-server/Makefile index 157753675370..b5c3312c447f 100644 --- a/games/ioquake3-server/Makefile +++ b/games/ioquake3-server/Makefile @@ -12,4 +12,5 @@ MASTERDIR= ${.CURDIR}/../${PORTNAME} IOQ3= SERVER GAMELIBS +NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile index e011769cf2ea..db5c822912b6 100644 --- a/games/ioquake3/Makefile +++ b/games/ioquake3/Makefile @@ -14,6 +14,7 @@ COMMENT?= Cleaned-up and enhanced version of Quake 3 USES= pkgconfig gmake +NO_STAGE= yes # Port configuration flags: # CLIENT SERVER TOOLS DLRENDERER GAMELIBS OPUS OPENGL2 IOQ3?= CLIENT TOOLS GAMELIBS @@ -225,13 +226,18 @@ PLIST_FILES+= ${inst:C/.*;//} # Generate install target do-install: ${Q3INSTALL} .for dir in ${PLIST_DIRS} - @${MKDIR} ${STAGEDIR}${PREFIX}/${dir} + ${MKDIR} ${PREFIX}/${dir} .endfor .for inst in ${IOQ3_INST} ${INSTALL_${inst:C/;.*//}} ${BUILDDIR}/${inst:C/[^;]*;//:C/;.*//} \ - ${STAGEDIR}${PREFIX}/${inst:C/.*;//} + ${PREFIX}/${inst:C/.*;//} .endfor +post-install: + @${JOT} -s '' -b= 78 + @${CAT} ${PKGMESSAGE} + @${JOT} -s '' -b= 78 + .if !defined(Q3TOTALCONV) .include "${.CURDIR}/../quake3-data/Makefile.include" .endif diff --git a/games/ioquake3/files/patch-Makefile b/games/ioquake3/files/patch-Makefile index 9e24e8d2cf4e..ca1190284c67 100644 --- a/games/ioquake3/files/patch-Makefile +++ b/games/ioquake3/files/patch-Makefile @@ -1,4 +1,5 @@ -Index: Makefile +--- Makefile.orig 2009-04-22 20:54:48.000000000 +0200 ++++ Makefile 2011-11-04 20:42:56.000000000 +0100 @@ -187,6 +187,8 @@ # FIXME: introduce CLIENT_CFLAGS SDL_CFLAGS=$(shell pkg-config --cflags sdl|sed 's/-Dmain=SDL_main//') @@ -8,7 +9,7 @@ Index: Makefile endif # version info -@@ -521,44 +523,30 @@ +@@ -521,44 +523,25 @@ ifeq ($(PLATFORM),freebsd) @@ -38,6 +39,16 @@ Index: Makefile - RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - else +- ifeq ($(ARCH),i386) +- RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro \ +- -march=pentium -fomit-frame-pointer -pipe -ffast-math \ +- -falign-loops=2 -falign-jumps=2 -falign-functions=2 \ +- -funroll-loops -fstrength-reduce +- HAVE_VM_COMPILED=true +- else +- BASE_CFLAGS += -DNO_VM_COMPILED +- endif +- endif + ifndef HOMEPATH + HOMEPATH = /.ioquake3 + endif @@ -53,19 +64,7 @@ Index: Makefile + -DDEFAULT_LIBDIR=\\\"$(DEFAULT_LIBDIR)\\\" \ + -DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON + CLIENT_CFLAGS += $(SDL_CFLAGS) -+ # disable vm on i386 - ifeq ($(ARCH),i386) -- RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro \ -- -march=pentium -fomit-frame-pointer -pipe -ffast-math \ -- -falign-loops=2 -falign-jumps=2 -falign-functions=2 \ -- -funroll-loops -fstrength-reduce -- HAVE_VM_COMPILED=true -+ BASE_CFLAGS += -DNO_VM_COMPILED - else -- BASE_CFLAGS += -DNO_VM_COMPILED -- endif -+ HAVE_VM_COMPILED = true - endif ++ HAVE_VM_COMPILED = true - DEBUG_CFLAGS=$(BASE_CFLAGS) -g + OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer @@ -73,7 +72,7 @@ Index: Makefile SHLIBEXT=so SHLIBCFLAGS=-fPIC -@@ -568,20 +556,52 @@ +@@ -568,20 +551,52 @@ # don't need -ldl (FreeBSD) LIBS=-lm @@ -108,8 +107,8 @@ Index: Makefile + ifneq ($(USE_LOCAL_HEADERS),1) + CLIENT_CFLAGS += $(VORBIS_CFLAGS) + endif -+ endif -+ + endif + + ifeq ($(BUILD_CLIENT),1) + BASE_CFLAGS += $(CLIENT_CFLAGS) + endif @@ -124,15 +123,15 @@ Index: Makefile + ifeq ($(CROSS_COMPILING),1) + BASE_CFLAGS += -m64 + endif - endif - ++ endif ++ + RELEASE_CFLAGS = $(BASE_CFLAGS) + DEBUG_CFLAGS = $(BASE_CFLAGS) -g + else # ifeq freebsd ############################################################################# -@@ -1442,6 +1462,9 @@ +@@ -1442,6 +1457,9 @@ ifeq ($(ARCH),x86_64) Q3OBJ += $(B)/client/vm_x86_64.o $(B)/client/vm_x86_64_assembler.o endif @@ -142,7 +141,7 @@ Index: Makefile ifeq ($(ARCH),ppc) Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o endif -@@ -1591,6 +1614,9 @@ +@@ -1591,6 +1609,9 @@ ifeq ($(ARCH),x86_64) Q3DOBJ += $(B)/ded/vm_x86_64.o $(B)/ded/vm_x86_64_assembler.o endif |