View | Details | Raw Unified | Return to bug 139648
Collapse All | Expand All

(-)games/stonesoup/Makefile (-2 / +5 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	stonesoup
8
PORTNAME=	stonesoup
9
PORTVERSION=	0.5.1
9
PORTVERSION=	0.5.2
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	SF/crawl-ref/Stone%20Soup/${PORTVERSION}
11
MASTER_SITES=	SF/crawl-ref/Stone%20Soup/${PORTVERSION}
12
DISTNAME=	stone_soup-${PORTVERSION}-src
12
DISTNAME=	stone_soup-${PORTVERSION}-src
Lines 24-36 Link Here
24
SUB_FILES=	README.FreeBSD
24
SUB_FILES=	README.FreeBSD
25
PLIST_SUB=	SAVEDIR="${SAVEDIR}"
25
PLIST_SUB=	SAVEDIR="${SAVEDIR}"
26
26
27
FETCH_ARGS?=    -pRr
27
FETCH_ARGS?=	-pRr
28
28
29
OPTIONS=	SDL		"SDL support (tiles interface)"	off \
29
OPTIONS=	SDL		"SDL support (tiles interface)"	off \
30
		SOUND		"Sound support"			off \
30
		SOUND		"Sound support"			off \
31
		LUA_BINDINGS	"LUA bindings for user scripts"	on \
31
		LUA_BINDINGS	"LUA bindings for user scripts"	on \
32
		UNICODE		"Unicode glyphs (UTF-8)"	off
32
		UNICODE		"Unicode glyphs (UTF-8)"	off
33
33
34
MAKE_ARGS=	"FREEBSD=yes"
35
34
.include <bsd.port.options.mk>
36
.include <bsd.port.options.mk>
35
37
36
.if defined(WITH_SDL)
38
.if defined(WITH_SDL)
Lines 54-59 Link Here
54
	@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}/," ${WRKSRC}/${MAKEFILE}
56
	@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}/," ${WRKSRC}/${MAKEFILE}
55
	@${REINPLACE_CMD} -e "s,%%SAVEDIR%%,${SAVEDIR}," ${WRKSRC}/${MAKEFILE}
57
	@${REINPLACE_CMD} -e "s,%%SAVEDIR%%,${SAVEDIR}," ${WRKSRC}/${MAKEFILE}
56
	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/${MAKEFILE}
58
	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/${MAKEFILE}
59
	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/${MAKEFILE}
57
.if defined(WITHOUT_LUA_BINDINGS)
60
.if defined(WITHOUT_LUA_BINDINGS)
58
	@${REINPLACE_CMD} -e "s,-DCLUA_BINDINGS,," ${WRKSRC}/${MAKEFILE}
61
	@${REINPLACE_CMD} -e "s,-DCLUA_BINDINGS,," ${WRKSRC}/${MAKEFILE}
59
.endif
62
.endif
(-)games/stonesoup/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (stone_soup-0.5.1-src.tbz2) = e1feb17d161311825e5eb676c14be44a
1
MD5 (stone_soup-0.5.2-src.tbz2) = 48aca99f320b70c880363ddaca7da89a
2
SHA256 (stone_soup-0.5.1-src.tbz2) = 156b8766ca39f7446d0a0846c178e3c178050eaf1627fbb9f828f659d13f853e
2
SHA256 (stone_soup-0.5.2-src.tbz2) = e943892da5da28cff9dc4117480d6fe48d25c03cb600696426ca9178aa2ae7c8
3
SIZE (stone_soup-0.5.1-src.tbz2) = 4758603
3
SIZE (stone_soup-0.5.2-src.tbz2) = 4683454
(-)games/stonesoup/files/patch-AppHdr.h (-12 / +3 lines)
Lines 1-6 Link Here
1
--- ./AppHdr.h.orig	2009-07-29 01:31:27.000000000 +0200
1
--- ./AppHdr.h.orig	2009-10-06 20:44:04.000000000 +0200
2
+++ ./AppHdr.h	2009-08-03 10:10:09.000000000 +0200
2
+++ ./AppHdr.h	2009-10-15 18:40:29.000000000 +0200
3
@@ -126,7 +126,7 @@
3
@@ -151,7 +151,7 @@
4
     //          setuid or setgid. Filenames passed to this command *are not
4
     //          setuid or setgid. Filenames passed to this command *are not
5
     //          validated in any way*.
5
     //          validated in any way*.
6
     //
6
     //
Lines 9-20 Link Here
9
 
9
 
10
     // For cases when the game will be played on terms that don't support the
10
     // For cases when the game will be played on terms that don't support the
11
     // curses "bold == lighter" 16 colour mode. -- bwr
11
     // curses "bold == lighter" 16 colour mode. -- bwr
12
@@ -413,6 +413,8 @@
13
     // The default behaviour is to compress with zip.
14
     // To use GNU tar instead, define SAVE_PACKAGE_TAR.
15
     // To avoid compression entirely, define SAVE_PACKAGE_NONE.
16
+    #define SAVE_PACKAGE_NONE
17
+
18
     #ifndef SAVE_PACKAGE_NONE
19
     #ifdef SAVE_PACKAGE_TAR
20
       // The --absolute-names switch is only there to suppress noise on stdout.
(-)games/stonesoup/files/patch-initfile.cc (-17 lines)
Lines 1-17 Link Here
1
--- ./initfile.cc.orig	2009-06-12 12:32:16.000000000 +0200
2
+++ ./initfile.cc	2009-06-19 13:54:51.000000000 +0200
3
@@ -2333,12 +2333,12 @@
4
 #ifndef USE_TILE
5
     else BOOL_OPTION(show_beam);
6
 #endif
7
-#ifndef SAVE_DIR_PATH
8
+// #ifndef SAVE_DIR_PATH
9
     else if (key == "morgue_dir")
10
     {
11
         morgue_dir = field;
12
     }
13
-#endif
14
+// #endif
15
     else if (key == "hp_warning")
16
     {
17
         hp_warning = atoi( field.c_str() );
(-)games/stonesoup/files/patch-makefile.unix (-23 / +51 lines)
Lines 1-7 Link Here
1
--- ./makefile.unix.orig	2009-06-12 12:39:29.000000000 +0200
1
--- ./makefile.unix.orig	2009-10-06 20:44:04.000000000 +0200
2
+++ ./makefile.unix	2009-06-19 13:54:52.000000000 +0200
2
+++ ./makefile.unix	2009-10-15 18:40:29.000000000 +0200
3
@@ -4,7 +4,7 @@
3
@@ -4,7 +4,7 @@
4
 # Modified for Crawl Reference by $Author: ennewalker $ on $Date: 2009-02-14 17:59:13 +0100 (Sa, 14 Feb 2009) $
4
 # Modified for Crawl Reference by $Author$ on $Date$
5
 #
5
 #
6
 
6
 
7
-GAME = crawl
7
-GAME = crawl
Lines 9-23 Link Here
9
 
9
 
10
 # this file contains a list of the libraries.
10
 # this file contains a list of the libraries.
11
 # it will make a variable called OBJECTS that contains all the libraries
11
 # it will make a variable called OBJECTS that contains all the libraries
12
@@ -12,7 +12,6 @@
12
@@ -12,7 +12,9 @@
13
 
13
 
14
 OBJECTS += libunix.o crash-u.o
14
 OBJECTS += libunix.o crash-u.o
15
 
15
 
16
-CXX = g++
16
+ifndef FREEBSD
17
 CXX = g++
18
+endif
17
 DELETE = rm -f
19
 DELETE = rm -f
18
 COPY = cp
20
 COPY = cp
19
 OS_TYPE = UNIX
21
 OS_TYPE = UNIX
20
@@ -21,7 +20,7 @@
22
@@ -21,7 +23,7 @@
21
 
23
 
22
 # Change this to y (case-sensitive!) if you want to use Unicode glyphs
24
 # Change this to y (case-sensitive!) if you want to use Unicode glyphs
23
 # in the map, and you have libncursesw available.
25
 # in the map, and you have libncursesw available.
Lines 26-39 Link Here
26
 
28
 
27
 # If you're using UNICODE_GLYPHS=y, and have a preferred Unicode
29
 # If you're using UNICODE_GLYPHS=y, and have a preferred Unicode
28
 # (UTF-8) locale you want Crawl to use, you can set it here. The
30
 # (UTF-8) locale you want Crawl to use, you can set it here. The
29
@@ -39,16 +38,15 @@
31
@@ -39,16 +41,16 @@
30
 MCHMOD_SAVEDIR := 775
32
 MCHMOD_SAVEDIR := 775
31
 
33
 
32
 # The user:group to install the game as.
34
 # The user:group to install the game as.
33
-INSTALL_UGRP := games:games
35
-INSTALL_UGRP := games:games
34
-
35
-INSTALLDIR   := /usr/games/crawl
36
+INSTALL_UGRP := root:games
36
+INSTALL_UGRP := root:games
37
 
38
-INSTALLDIR   := /usr/games/crawl
37
+INSTALLDIR   := %%PREFIX%%/bin
39
+INSTALLDIR   := %%PREFIX%%/bin
38
 
40
 
39
 # If you're installing Crawl for multiple users, you *must* set this to a
41
 # If you're installing Crawl for multiple users, you *must* set this to a
Lines 47-71 Link Here
47
 
49
 
48
 LEX  := flex
50
 LEX  := flex
49
 YACC := bison -y
51
 YACC := bison -y
50
@@ -70,17 +68,8 @@
52
@@ -70,16 +72,20 @@
51
 
53
 
52
 INCLUDES := $(INCLUDES) -Iutil -I. -I$(LUASRC) $(EXTRA_INCLUDES)
54
 INCLUDES := $(INCLUDES) -Iutil -I. -I$(LUASRC) $(EXTRA_INCLUDES)
53
 
55
 
54
-CFWARN := -Wall -Wno-parentheses -Wwrite-strings -Wshadow -pedantic
56
+ifndef FREEBSD
55
-
57
 CFWARN := -Wall -Wno-parentheses -Wwrite-strings -Wshadow -pedantic
58
+endif
59
 
56
 CFOTHERS := -fsigned-char -D$(OS_TYPE) $(EXTRA_FLAGS) -DCLUA_BINDINGS
60
 CFOTHERS := -fsigned-char -D$(OS_TYPE) $(EXTRA_FLAGS) -DCLUA_BINDINGS
57
 
61
 
58
-ifneq ($(HURRY),y)
62
+ifndef FREEBSD
59
-ifneq ($(DEBUG_CRAWL),y)
63
 ifneq ($(HURRY),y)
60
-CFWARN += -Wuninitialized
64
 ifneq ($(DEBUG_CRAWL),y)
61
-CFOTHERS += -O2
65
 CFWARN += -Wuninitialized
62
-endif
66
 CFOTHERS += -O2
63
-endif
67
 endif
64
-
68
 endif
69
+endif
70
 
65
 ifneq ($(strip $(SAVEDIR)),)
71
 ifneq ($(strip $(SAVEDIR)),)
66
 CFOTHERS += '-DSAVE_DIR_PATH="$(strip $(SAVEDIR))"'
72
 CFOTHERS += '-DSAVE_DIR_PATH="$(strip $(SAVEDIR))"'
67
 endif
73
@@ -117,8 +123,8 @@
68
@@ -117,8 +106,8 @@
69
 LIBCURS  = ncurses
74
 LIBCURS  = ncurses
70
 endif
75
 endif
71
 
76
 
Lines 76-82 Link Here
76
 
81
 
77
 UTIL = util/
82
 UTIL = util/
78
 
83
 
79
@@ -160,7 +149,7 @@
84
@@ -160,7 +166,7 @@
80
 	rm -f $(DEPENDENCY_MKF).tmp
85
 	rm -f $(DEPENDENCY_MKF).tmp
81
 	@for i in $^; do \
86
 	@for i in $^; do \
82
 	    echo "Updating dependencies for $$i"; \
87
 	    echo "Updating dependencies for $$i"; \
Lines 85-91 Link Here
85
 	done
90
 	done
86
 	mv -f $(DEPENDENCY_MKF).tmp $(DEPENDENCY_MKF)
91
 	mv -f $(DEPENDENCY_MKF).tmp $(DEPENDENCY_MKF)
87
 
92
 
88
@@ -257,17 +246,17 @@
93
@@ -257,17 +263,17 @@
89
 	$(DELETE) $(DEPENDENCY_MKF)
94
 	$(DELETE) $(DEPENDENCY_MKF)
90
 
95
 
91
 $(GAME): $(GAME_DEPENDS)
96
 $(GAME): $(GAME_DEPENDS)
Lines 106-108 Link Here
106
 
111
 
107
 # [ds] Note we don't use the standard CFLAGS here; that's intentional, most
112
 # [ds] Note we don't use the standard CFLAGS here; that's intentional, most
108
 # flex/bison combos I've tried don't produce code that passes the warnings
113
 # flex/bison combos I've tried don't produce code that passes the warnings
114
@@ -280,14 +286,22 @@
115
 
116
 $(LUASRC)$(LUALIBA):
117
 	echo Building Lua...
118
+ifdef FREEBSD
119
+	cd $(LUASRC) && $(MAKE) FREEBSD=yes crawl_unix
120
+else
121
 	cd $(LUASRC) && $(MAKE) crawl_unix
122
+endif
123
 
124
 #############################################################################
125
 # Build SQLite
126
 
127
 $(FSQLLIBA):
128
 	echo Building SQLite
129
+ifdef FREEBSD
130
+	cd $(SQLSRC) && $(MAKE) FREEBSD=yes
131
+else
132
 	cd $(SQLSRC) && $(MAKE)
133
+endif
134
 
135
 #############################################################################
136
 # Packaging a source tarball for release
(-)games/stonesoup/files/patch-makefile_tiles.unix (-23 / +53 lines)
Lines 1-5 Link Here
1
--- ./makefile_tiles.unix.orig	2009-06-12 12:32:15.000000000 +0200
1
--- ./makefile_tiles.unix.orig	2009-10-06 20:44:04.000000000 +0200
2
+++ ./makefile_tiles.unix	2009-06-19 13:54:52.000000000 +0200
2
+++ ./makefile_tiles.unix	2009-10-15 18:40:29.000000000 +0200
3
@@ -4,7 +4,7 @@
3
@@ -4,7 +4,7 @@
4
 # Modified for Crawl Reference by $Author: dshaligram $ on $Date: 2007-06-24T16:27:58.475101Z $
4
 # Modified for Crawl Reference by $Author: dshaligram $ on $Date: 2007-06-24T16:27:58.475101Z $
5
 #
5
 #
Lines 9-23 Link Here
9
 
9
 
10
 # this file contains a list of the libraries.
10
 # this file contains a list of the libraries.
11
 # it will make a variable called OBJECTS that contains all the libraries
11
 # it will make a variable called OBJECTS that contains all the libraries
12
@@ -15,7 +15,6 @@
12
@@ -15,7 +15,9 @@
13
 SDL_CFLAGS := $(shell sdl-config --cflags)
13
 SDL_CFLAGS := $(shell sdl-config --cflags)
14
 SDL_LDFLAGS := $(shell sdl-config --libs) -lSDLmain
14
 SDL_LDFLAGS := $(shell sdl-config --libs) -lSDLmain
15
 
15
 
16
-CXX = g++
16
+ifndef FREEBSD
17
 CXX = g++
18
+endif
17
 DELETE = rm -f
19
 DELETE = rm -f
18
 COPY = cp
20
 COPY = cp
19
 OS_TYPE = UNIX
21
 OS_TYPE = UNIX
20
@@ -25,7 +24,7 @@
22
@@ -25,7 +27,7 @@
21
 
23
 
22
 # Change this to y if you want to use Unicode glyphs in the map, and you have
24
 # Change this to y if you want to use Unicode glyphs in the map, and you have
23
 # libncursesw available.
25
 # libncursesw available.
Lines 26-41 Link Here
26
 
28
 
27
 ifeq ($(strip $(OSX)),y)
29
 ifeq ($(strip $(OSX)),y)
28
 PNG_INCLUDE := -I/sw/include
30
 PNG_INCLUDE := -I/sw/include
29
@@ -41,7 +40,7 @@
31
@@ -41,7 +43,7 @@
30
 else
32
 else
31
 PNG_INCLUDE :=
33
 PNG_INCLUDE :=
32
 PNG_LIB :=
34
 PNG_LIB :=
33
-FREETYPE_INCLUDE := -I/usr/include/freetype2
35
-FREETYPE_INCLUDE := -I/usr/include/freetype2
34
+FREETYPE_INCLUDE := -I/usr/local/include/freetype2
36
+FREETYPE_INCLUDE := -I%%LOCALBASE%%/include/freetype2
35
 endif
37
 endif
36
 
38
 
37
 # If you have lex and yacc, set DOYACC to y (lowercase y).
39
 # If you have lex and yacc, set DOYACC to y (lowercase y).
38
@@ -54,16 +53,16 @@
40
@@ -54,16 +56,16 @@
39
 MCHMOD_SAVEDIR := 775
41
 MCHMOD_SAVEDIR := 775
40
 
42
 
41
 # The user:group to install the game as.
43
 # The user:group to install the game as.
Lines 56-80 Link Here
56
 
58
 
57
 LEX  := flex
59
 LEX  := flex
58
 YACC := bison -y
60
 YACC := bison -y
59
@@ -105,17 +104,8 @@
61
@@ -105,10 +107,13 @@
60
 
62
 
61
 INCLUDES := $(INCLUDES) -Iutil -I. -I$(LUASRC) $(EXTRA_INCLUDES) $(PNG_INCLUDE) $(FREETYPE_INCLUDE)
63
 INCLUDES := $(INCLUDES) -Iutil -I. -I$(LUASRC) $(EXTRA_INCLUDES) $(PNG_INCLUDE) $(FREETYPE_INCLUDE)
62
 
64
 
63
-CFWARN := -Wall -Wwrite-strings -Wshadow -pedantic -Wno-parentheses
65
+ifndef FREEBSD
64
-
66
 CFWARN := -Wall -Wwrite-strings -Wshadow -pedantic -Wno-parentheses
67
+endif
68
 
65
 CFOTHERS := -fsigned-char -D$(OS_TYPE) $(EXTRA_FLAGS) -DCLUA_BINDINGS
69
 CFOTHERS := -fsigned-char -D$(OS_TYPE) $(EXTRA_FLAGS) -DCLUA_BINDINGS
66
 
70
 
67
-ifneq ($(HURRY),y)
71
+ifndef FREEBSD
68
-ifneq ($(DEBUG_CRAWL),y)
72
 ifneq ($(HURRY),y)
69
-CFWARN += -Wuninitialized
73
 ifneq ($(DEBUG_CRAWL),y)
70
-CFOTHERS += -O2
74
 CFWARN += -Wuninitialized
71
-endif
75
@@ -116,6 +121,8 @@
72
-endif
76
 endif
73
-
77
 endif
78
 
79
+endif
80
+
74
 ifneq ($(strip $(SAVEDIR)),)
81
 ifneq ($(strip $(SAVEDIR)),)
75
 CFOTHERS += '-DSAVE_DIR_PATH="$(strip $(SAVEDIR))"'
82
 CFOTHERS += '-DSAVE_DIR_PATH="$(strip $(SAVEDIR))"'
76
 endif
83
 endif
77
@@ -124,8 +114,8 @@
84
@@ -124,8 +131,8 @@
78
 CFOTHERS += '-DDATA_DIR_PATH="$(strip $(DATADIR))"'
85
 CFOTHERS += '-DDATA_DIR_PATH="$(strip $(DATADIR))"'
79
 endif
86
 endif
80
 
87
 
Lines 85-91 Link Here
85
 
92
 
86
 UTIL = util/
93
 UTIL = util/
87
 
94
 
88
@@ -167,7 +157,7 @@
95
@@ -167,7 +174,7 @@
89
 	rm -f $(DEPENDENCY_MKF).tmp
96
 	rm -f $(DEPENDENCY_MKF).tmp
90
 	@for i in $^; do \
97
 	@for i in $^; do \
91
 	    echo "Updating dependencies for $$i"; \
98
 	    echo "Updating dependencies for $$i"; \
Lines 94-100 Link Here
94
 	done
101
 	done
95
 	mv -f $(DEPENDENCY_MKF).tmp $(DEPENDENCY_MKF)
102
 	mv -f $(DEPENDENCY_MKF).tmp $(DEPENDENCY_MKF)
96
 
103
 
97
@@ -210,7 +200,7 @@
104
@@ -210,7 +217,7 @@
98
 ORIGTILEFILES = $(TILEFILES:%=$(RLTILES)/%)
105
 ORIGTILEFILES = $(TILEFILES:%=$(RLTILES)/%)
99
 
106
 
100
 makerltiles:
107
 makerltiles:
Lines 103-109 Link Here
103
 
110
 
104
 $(TILEDEFSRCS): makerltiles
111
 $(TILEDEFSRCS): makerltiles
105
 
112
 
106
@@ -222,7 +212,7 @@
113
@@ -222,7 +229,7 @@
107
 	$(COPY) $< $@
114
 	$(COPY) $< $@
108
 
115
 
109
 clean-rltiles:
116
 clean-rltiles:
Lines 112-118 Link Here
112
 
119
 
113
 ##########################################################################
120
 ##########################################################################
114
 
121
 
115
@@ -287,21 +277,21 @@
122
@@ -287,21 +294,21 @@
116
 	$(DELETE) $(DEPENDENCY_MKF)
123
 	$(DELETE) $(DEPENDENCY_MKF)
117
 
124
 
118
 $(GAME): $(GAME_DEPENDS)
125
 $(GAME): $(GAME_DEPENDS)
Lines 138-140 Link Here
138
 
145
 
139
 # [ds] Note we don't use the standard CFLAGS here; that's intentional, most
146
 # [ds] Note we don't use the standard CFLAGS here; that's intentional, most
140
 # flex/bison combos I've tried don't produce code that passes the warnings
147
 # flex/bison combos I've tried don't produce code that passes the warnings
148
@@ -314,14 +321,22 @@
149
 
150
 $(LUASRC)$(LUALIBA):
151
 	echo Building Lua...
152
+ifdef FREEBSD
153
+	cd $(LUASRC) && $(MAKE) FREEBSD=yes crawl_unix
154
+else
155
 	cd $(LUASRC) && $(MAKE) crawl_unix
156
+endif
157
 
158
 #############################################################################
159
 # Build SQLite
160
 
161
 $(FSQLLIBA):
162
 	echo Building SQLite
163
+ifdef FREEBSD
164
+	cd $(SQLSRC) && $(MAKE) FREEBSD=yes
165
+else
166
 	cd $(SQLSRC) && $(MAKE)
167
+endif
168
 
169
 #############################################################################
170
 # Packaging a source tarball for release
(-)games/stonesoup/files/patch-tilesdl.cc (+11 lines)
Line 0 Link Here
1
--- ./tilesdl.cc.orig	2009-10-15 18:41:56.000000000 +0200
2
+++ ./tilesdl.cc	2009-10-15 18:42:16.000000000 +0200
3
@@ -249,7 +249,7 @@
4
             "dat/tiles/stone_soup_icon-32x32.png";
5
 #endif
6
 
7
-    SDL_Surface *icon = IMG_Load(datafile_path(icon_name).c_str());
8
+    SDL_Surface *icon = IMG_Load(datafile_path(icon_name, true, true).c_str());
9
     if (!icon)
10
     {
11
         printf("Failed to load icon: %s\n", SDL_GetError());
(-)games/stonesoup/files/patch-util__lua__src__Makefile (-5 / +7 lines)
Lines 1-11 Link Here
1
--- ./util/lua/src/Makefile.orig	2009-06-12 12:24:43.000000000 +0200
1
--- ./util/lua/src/Makefile.orig	2009-10-06 20:44:04.000000000 +0200
2
+++ ./util/lua/src/Makefile	2009-06-19 13:54:52.000000000 +0200
2
+++ ./util/lua/src/Makefile	2009-10-15 18:40:29.000000000 +0200
3
@@ -9,8 +9,6 @@
3
@@ -9,8 +9,10 @@
4
 # Your platform. See PLATS for possible values.
4
 # Your platform. See PLATS for possible values.
5
 PLAT= none
5
 PLAT= none
6
 
6
 
7
-CC= gcc
7
+ifndef FREEBSD
8
-CFLAGS= -O2 -Wall $(MYCFLAGS)
8
 CC= gcc
9
 CFLAGS= -O2 -Wall $(MYCFLAGS)
10
+endif
9
 AR= ar rcu
11
 AR= ar rcu
10
 RANLIB= ranlib
12
 RANLIB= ranlib
11
 RM= rm -f
13
 RM= rm -f
(-)games/stonesoup/files/patch-util__sqlite__Makefile (-4 / +6 lines)
Lines 1-10 Link Here
1
--- ./util/sqlite/Makefile.orig	2009-06-12 12:27:11.000000000 +0200
1
--- ./util/sqlite/Makefile.orig	2009-10-06 20:44:04.000000000 +0200
2
+++ ./util/sqlite/Makefile	2009-06-19 13:54:52.000000000 +0200
2
+++ ./util/sqlite/Makefile	2009-10-15 18:40:29.000000000 +0200
3
@@ -4,12 +4,11 @@
3
@@ -4,12 +4,14 @@
4
 
4
 
5
 LIBSQL = libsqlite3.a
5
 LIBSQL = libsqlite3.a
6
 AR     = ar rcu
6
 AR     = ar rcu
7
-CC     = gcc
7
+ifndef FREEBSD
8
 CC     = gcc
9
+endif
8
 RANLIB = ranlib
10
 RANLIB = ranlib
9
 RM_F   = rm -f
11
 RM_F   = rm -f
10
 
12
 
(-)games/stonesoup/pkg-plist (+2 lines)
Lines 115-120 Link Here
115
%%DATADIR%%/docs/changelog.txt
115
%%DATADIR%%/docs/changelog.txt
116
%%DATADIR%%/docs/aptitudes.txt
116
%%DATADIR%%/docs/aptitudes.txt
117
%%DATADIR%%/docs/tiles_help.txt
117
%%DATADIR%%/docs/tiles_help.txt
118
%%DATADIR%%/docs/libpng-LICENSE.txt
119
%%DATADIR%%/docs/tiles_creation.txt
118
@exec chown -R root:games %D/%%DATADIR%%
120
@exec chown -R root:games %D/%%DATADIR%%
119
@exec install -d -o root -g games -m 775 %%SAVEDIR%%
121
@exec install -d -o root -g games -m 775 %%SAVEDIR%%
120
%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
122
%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt

Return to bug 139648