summaryrefslogtreecommitdiff
path: root/games/quakeforge
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-01-13 02:33:42 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-01-13 02:33:42 +0000
commit830dc339c87c0ef0fd7770b7e22923757513c03c (patch)
tree314fe36f09a95d425f74a135ed64842514271278 /games/quakeforge
parent- Remove %%MODELS%% from a file in pkg-plist that is always installed. (diff)
- Add -fPIC compiler flag to the shared library sources (recently a static
library was converted to shared) to fix building on amd64. Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=182270
Diffstat (limited to 'games/quakeforge')
-rw-r--r--games/quakeforge/files/patch-libs__video__renderer__sw__Makefile.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-libs__video__renderer__sw__Makefile.in b/games/quakeforge/files/patch-libs__video__renderer__sw__Makefile.in
new file mode 100644
index 000000000000..6fd5eb615889
--- /dev/null
+++ b/games/quakeforge/files/patch-libs__video__renderer__sw__Makefile.in
@@ -0,0 +1,23 @@
+--- ./libs/video/renderer/sw/Makefile.in.orig Sun May 2 17:52:12 2004
++++ ./libs/video/renderer/sw/Makefile.in Fri Jan 12 23:26:27 2007
+@@ -403,8 +403,8 @@
+ target_vendor = @target_vendor@
+ vid_libs = @vid_libs@
+ AUTOMAKE_OPTIONS = foreign
+-AM_CFLAGS = @PREFER_NON_PIC@
+-AM_CCASFLAGS = @PREFER_NON_PIC@
++AM_CFLAGS = @PREFER_PIC@
++AM_CCASFLAGS = @PREFER_PIC@
+ INCLUDES = -I$(top_srcdir)/include
+ @ASM_ARCH_FALSE@asm =
+ @ASM_ARCH_TRUE@asm = libasm.la
+@@ -422,9 +422,7 @@
+ sw_redge.c sw_rmain.c sw_rmisc.c sw_rpart.c sw_rsky.c sw_rsprite.c \
+ sw_rsurf.c sw_skin.c
+
+-libasm_la_LDFLAGS = @STATIC@
+ libasm_la_SOURCES = $(asm_src)
+-libsw_la_LDFLAGS = @STATIC@
+ libsw_la_SOURCES = $(sw_src)
+ @ASM_ARCH_TRUE@libsw_la_LIBADD = $(asm)
+ @ASM_ARCH_TRUE@libsw_la_DEPENDENCIES = $(asm)