summaryrefslogtreecommitdiff
path: root/games-puzzle/xblockout/files/xblockout-1.1.6-makefile.patch
blob: 4ad389b1cdecda8404301d440f88b54c00da1683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Was sed in ebuild. Extracted for clarity.
--- a/Makefile.in
+++ b/Makefile.in
@@ -57,7 +57,6 @@
 ###########################################################################
 
 # For compile
-CC=@CC@
 # For copy
 CP=cp
 @CP@
@@ -83,7 +82,7 @@
 
 # For linking (configure script will modify this line)
 # xmkmf et imake informations are take into account.
-LIBS = @LIBS@ -lm
+LIBS = @LIBS@ -lm -lX11
 
 all:demo
 
@@ -93,8 +92,7 @@
 CFLAGS = -DSCOREDIR=\"$(SCOREDIR)\" \
 	 -DRESOURCEDIR=\"$(RESOURCEDIR)\" \
 	 -DXBLVERSION=\"$(XBLVERSION)\" \
-	 -DGROUP_GID=$(GROUP_GID) \
-	  $(USE_SETGID) @DEFS@ @CFLA@ -g
+	  $(USE_SETGID) @DEFS@ @CFLA@ $(GENTOO_CFLAGS)
 # For link edit options
 LDOPTIONS=$(CFLAGS)
 LDOPTIONS=@LDOPTIONS@