From owner-svn-ports-head@FreeBSD.ORG Wed Feb 5 22:27:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B928BCE; Wed, 5 Feb 2014 22:27:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 961AE11DE; Wed, 5 Feb 2014 22:27:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s15MRklk076789; Wed, 5 Feb 2014 22:27:46 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s15MRkYq076787; Wed, 5 Feb 2014 22:27:46 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201402052227.s15MRkYq076787@svn.freebsd.org> From: John Marino Date: Wed, 5 Feb 2014 22:27:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342877 - in head/games/fteqw: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 22:27:46 -0000 Author: marino Date: Wed Feb 5 22:27:45 2014 New Revision: 342877 URL: http://svnweb.freebsd.org/changeset/ports/342877 QAT: https://qat.redports.org/buildarchive/r342877/ Log: games/fteqw: Explicitly link libm and add fix DragonFly build Modified: head/games/fteqw/Makefile head/games/fteqw/files/patch-Makefile Modified: head/games/fteqw/Makefile ============================================================================== --- head/games/fteqw/Makefile Wed Feb 5 22:25:39 2014 (r342876) +++ head/games/fteqw/Makefile Wed Feb 5 22:27:45 2014 (r342877) @@ -14,6 +14,7 @@ COMMENT= QuakeWorld client with cool fea USES= gmake dos2unix USE_CSTD= gnu89 NO_WRKSUBDIR= yes +MAKE_ARGS+= FTE_TARGET=bsd SUB_FILES= pkg-message Modified: head/games/fteqw/files/patch-Makefile ============================================================================== --- head/games/fteqw/files/patch-Makefile Wed Feb 5 22:25:39 2014 (r342876) +++ head/games/fteqw/files/patch-Makefile Wed Feb 5 22:27:45 2014 (r342877) @@ -1,5 +1,5 @@ ---- Makefile.orig 2008-02-15 17:58:56.000000000 -0300 -+++ Makefile 2008-02-15 18:00:12.000000000 -0300 +--- Makefile.orig 2014-02-05 16:57:36.000000000 -0500 ++++ Makefile @@ -1,6 +1,6 @@ -CC=gcc +CC?=gcc @@ -9,7 +9,7 @@ STRIPFLAGS=--strip-unneeded --remove-section=.comment -@@ -179,9 +179,9 @@ +@@ -179,9 +179,9 @@ else endif #BASELDFLAGS=-lm -lz @@ -22,7 +22,7 @@ SLDFLAGS=-lvga ifeq ($(USEASM),true) -@@ -212,18 +212,20 @@ +@@ -212,18 +212,20 @@ else BASE_ASM_CFLAGS = -DNOASM endif @@ -44,7 +44,16 @@ GLCFLAGS=-DGLQUAKE SWCFLAGS=-DSWQUAKE -@@ -550,7 +552,7 @@ +@@ -469,7 +471,7 @@ ifdef windir + SW_LDFLAGS=$(SWLDFLAGS) -lmingw32 -lwsock32 -lSDLmain -lSDL + else + #pthread is needed because of SDL. +-SW_LDFLAGS=$(SWLDFLAGS) `sdl-config --libs` $(IMAGELDFLAGS) ++SW_LDFLAGS=$(SWLDFLAGS) `sdl-config --libs` $(IMAGELDFLAGS) -lz + endif + SW_CFLAGS=$(SWCFLAGS) `sdl-config --cflags` + SWB_DIR=sw_sdl$(BITS) +@@ -550,7 +552,7 @@ ifeq ($(FTE_TARGET),bsd) #oss, X, etc. SV_DIR=sv_linux @@ -53,11 +62,13 @@ ifeq ($(USEASM),true) GLCL_OBJS=$(GL_OBJS) $(GLQUAKE_OBJS) gl_vidlinuxglx.o snd_linux.o cd_null.o sys_linux.o sys_dosa.o -@@ -560,19 +562,12 @@ +@@ -559,20 +561,13 @@ else + endif GL_EXE_NAME=../fteqw.gl GLCL_EXE_NAME=../fteqwcl.gl - GL_LDFLAGS= -L/usr/local/lib $(GLLDFLAGS) $(GLXLDFLAGS) -lXxf86vm -lpthread +- GL_LDFLAGS= -L/usr/local/lib $(GLLDFLAGS) $(GLXLDFLAGS) -lXxf86vm -lpthread - GL_CFLAGS=$(GLCFLAGS) -I/usr/local/include -I/usr/X11R6/include ++ GL_LDFLAGS= -L/usr/local/lib $(GLLDFLAGS) $(GLXLDFLAGS) -lXxf86vm -lpthread -lz + GL_CFLAGS=$(GLCFLAGS) -I$(LOCALBASE)/include GLB_DIR=gl_bsd GLCL_DIR=glcl_bsd @@ -76,7 +87,7 @@ SWB_DIR=sw_bsd SWCL_DIR=swcl_bsd -@@ -584,7 +579,7 @@ +@@ -584,7 +579,7 @@ endif M_EXE_NAME=../fteqw MCL_EXE_NAME=../fteqwcl M_LDFLAGS=$(GLLDFLAGS) $(GLXLDFLAGS) -lXxf86vm -lpthread