| 1 |
Description: Upstream has a few time-wasting sillinesses in the configure |
| 2 |
system, and builds a needlessly static binary which is not useful. |
| 3 |
Author: Kees Cook <[email protected]> |
| 4 |
Forwarded: not-needed |
| 5 |
|
| 6 |
--- orbital-eunuchs-sniper-1.30+svn20070601.orig/configure |
| 7 |
+++ orbital-eunuchs-sniper-1.30+svn20070601/configure |
| 8 |
@@ -7315,19 +7315,19 @@ CPU_IS=`uname -m` |
| 9 |
|
| 10 |
|
| 11 |
echo $ac_n "ordering crap from http://www.amazon.com/gp/registry/296ST2NHEBO0Z" 1>&6 |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
+#sleep 1 |
| 22 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 23 |
+#sleep 1 |
| 24 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 25 |
+#sleep 1 |
| 26 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 27 |
+#sleep 1 |
| 28 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 29 |
+#sleep 1 |
| 30 |
{ echo "$as_me:$LINENO: result: complete!" >&5 |
| 31 |
echo "${ECHO_T} complete!" >&6; } |
| 32 |
|
| 33 |
|
| 34 |
+ac_config_files="$ac_config_files Makefile src/Makefile bin/Makefile" |
| 35 |
|
| 36 |
cat >confcache <<\_ACEOF |
| 37 |
# This file is a shell script that caches the results of configure |
| 38 |
@@ -7918,7 +7918,6 @@ do |
| 39 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 40 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 41 |
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; |
| 42 |
|
| 43 |
|
| 44 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 45 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 46 |
--- orbital-eunuchs-sniper-1.30+svn20070601.orig/configure.ac |
| 47 |
+++ orbital-eunuchs-sniper-1.30+svn20070601/configure.ac |
| 48 |
@@ -75,16 +75,16 @@ AC_SUBST(CPU_IS,`uname -m`) |
| 49 |
|
| 50 |
|
| 51 |
echo $ac_n "ordering crap from http://www.amazon.com/gp/registry/296ST2NHEBO0Z" 1>&6 |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
+#sleep 1 |
| 62 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 63 |
+#sleep 1 |
| 64 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 65 |
+#sleep 1 |
| 66 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 67 |
+#sleep 1 |
| 68 |
+#echo $ac_n ".$ac_c" 1>&6 |
| 69 |
+#sleep 1 |
| 70 |
AC_MSG_RESULT([ complete!]) |
| 71 |
|
| 72 |
|
| 73 |
+AC_CONFIG_FILES([Makefile src/Makefile bin/Makefile]) |
| 74 |
AC_OUTPUT |
| 75 |
--- orbital-eunuchs-sniper-1.30+svn20070601.orig/src/Makefile.am |
| 76 |
+++ orbital-eunuchs-sniper-1.30+svn20070601/src/Makefile.am |
| 77 |
@@ -1,7 +1,5 @@ |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
+bin_PROGRAMS = snipe2d |
| 83 |
+snipe2d_SOURCES = \ |
| 84 |
ai.cpp \ |
| 85 |
binds.cpp \ |
| 86 |
binds.h \ |
| 87 |
@@ -27,16 +25,3 @@ snipe2d_common = \ |
| 88 |
sexpr/faststack.c \ |
| 89 |
sexpr/io.c \ |
| 90 |
sexpr/parser.c |
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
--- orbital-eunuchs-sniper-1.30+svn20070601.orig/src/Makefile.in |
| 105 |
+++ orbital-eunuchs-sniper-1.30+svn20070601/src/Makefile.in |
| 106 |
@@ -14,7 +14,6 @@ |
| 107 |
|
| 108 |
@SET_MAKE@ |
| 109 |
|
| 110 |
|
| 111 |
VPATH = @srcdir@ |
| 112 |
pkgdatadir = $(datadir)/@PACKAGE@ |
| 113 |
pkglibdir = $(libdir)/@PACKAGE@ |
| 114 |
@@ -34,37 +33,27 @@ POST_UNINSTALL = : |
| 115 |
build_triplet = @build@ |
| 116 |
host_triplet = @host@ |
| 117 |
target_triplet = @target@ |
| 118 |
|
| 119 |
|
| 120 |
+bin_PROGRAMS = snipe2d$(EXEEXT) |
| 121 |
subdir = src |
| 122 |
|
| 123 |
|
| 124 |
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in |
| 125 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 126 |
am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
| 127 |
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 128 |
$(ACLOCAL_M4) |
| 129 |
mkinstalldirs = $(install_sh) -d |
| 130 |
CONFIG_HEADER = $(top_builddir)/config.h |
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
+CONFIG_CLEAN_FILES = |
| 137 |
+am__installdirs = "$(DESTDIR)$(bindir)" |
| 138 |
+binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) |
| 139 |
+PROGRAMS = $(bin_PROGRAMS) |
| 140 |
+am_snipe2d_OBJECTS = ai.$(OBJEXT) binds.$(OBJEXT) gameover.$(OBJEXT) \ |
| 141 |
highscores.$(OBJEXT) logoscreen.$(OBJEXT) petopt.$(OBJEXT) \ |
| 142 |
prefs.$(OBJEXT) prints.$(OBJEXT) render_ai.$(OBJEXT) \ |
| 143 |
snipe2d.$(OBJEXT) target.$(OBJEXT) ui.$(OBJEXT) \ |
| 144 |
zooms.$(OBJEXT) sexp.$(OBJEXT) sexp_ops.$(OBJEXT) \ |
| 145 |
faststack.$(OBJEXT) io.$(OBJEXT) parser.$(OBJEXT) |
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
+snipe2d_OBJECTS = $(am_snipe2d_OBJECTS) |
| 157 |
+snipe2d_LDADD = $(LDADD) |
| 158 |
DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ |
| 159 |
depcomp = $(SHELL) $(top_srcdir)/depcomp |
| 160 |
am__depfiles_maybe = depfiles |
| 161 |
@@ -77,10 +66,8 @@ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_IN |
| 162 |
CXXLD = $(CXX) |
| 163 |
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ |
| 164 |
-o $@ |
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
+SOURCES = $(snipe2d_SOURCES) |
| 170 |
+DIST_SOURCES = $(snipe2d_SOURCES) |
| 171 |
ETAGS = etags |
| 172 |
CTAGS = ctags |
| 173 |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 174 |
@@ -191,9 +178,7 @@ target_os = @target_os@ |
| 175 |
target_vendor = @target_vendor@ |
| 176 |
top_builddir = @top_builddir@ |
| 177 |
top_srcdir = @top_srcdir@ |
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
+snipe2d_SOURCES = \ |
| 182 |
ai.cpp \ |
| 183 |
binds.cpp \ |
| 184 |
binds.h \ |
| 185 |
@@ -220,12 +205,7 @@ snipe2d_common = \ |
| 186 |
sexpr/io.c \ |
| 187 |
sexpr/parser.c |
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
+all: all-am |
| 196 |
|
| 197 |
.SUFFIXES: |
| 198 |
.SUFFIXES: .c .cpp .o .obj |
| 199 |
@@ -258,54 +238,33 @@ $(top_srcdir)/configure: $(am__configur |
| 200 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 201 |
$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
| 202 |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
+install-binPROGRAMS: $(bin_PROGRAMS) |
| 207 |
@$(NORMAL_INSTALL) |
| 208 |
|
| 209 |
|
| 210 |
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" |
| 211 |
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \ |
| 212 |
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
| 213 |
if test -f $$p \ |
| 214 |
; then \ |
| 215 |
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ |
| 216 |
|
| 217 |
|
| 218 |
+ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ |
| 219 |
+ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ |
| 220 |
else :; fi; \ |
| 221 |
done |
| 222 |
|
| 223 |
|
| 224 |
+uninstall-binPROGRAMS: |
| 225 |
@$(NORMAL_UNINSTALL) |
| 226 |
|
| 227 |
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \ |
| 228 |
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ |
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ |
| 255 |
rm -f "$(DESTDIR)$(bindir)/$$f"; \ |
| 256 |
done |
| 257 |
|
| 258 |
+clean-binPROGRAMS: |
| 259 |
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
| 260 |
+snipe2d$(EXEEXT): $(snipe2d_OBJECTS) $(snipe2d_DEPENDENCIES) |
| 261 |
+ @rm -f snipe2d$(EXEEXT) |
| 262 |
+ $(CXXLINK) $(snipe2d_OBJECTS) $(snipe2d_LDADD) $(LIBS) |
| 263 |
+ |
| 264 |
mostlyclean-compile: |
| 265 |
-rm -f *.$(OBJEXT) |
| 266 |
|
| 267 |
@@ -504,15 +463,13 @@ distdir: $(DISTFILES) |
| 268 |
fi; \ |
| 269 |
done |
| 270 |
check-am: all-am |
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
+check: check-am |
| 275 |
+all-am: Makefile $(PROGRAMS) |
| 276 |
installdirs: |
| 277 |
|
| 278 |
+ for dir in "$(DESTDIR)$(bindir)"; do \ |
| 279 |
test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
| 280 |
done |
| 281 |
|
| 282 |
|
| 283 |
+install: install-am |
| 284 |
install-exec: install-exec-am |
| 285 |
install-data: install-data-am |
| 286 |
uninstall: uninstall-am |
| 287 |
@@ -536,10 +493,9 @@ distclean-generic: |
| 288 |
maintainer-clean-generic: |
| 289 |
@echo "This command is intended for maintainers to use" |
| 290 |
@echo "it deletes files that may require special tools to rebuild." |
| 291 |
|
| 292 |
clean: clean-am |
| 293 |
|
| 294 |
|
| 295 |
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am |
| 296 |
|
| 297 |
distclean: distclean-am |
| 298 |
-rm -rf ./$(DEPDIR) |
| 299 |
@@ -557,11 +513,11 @@ info: info-am |
| 300 |
|
| 301 |
info-am: |
| 302 |
|
| 303 |
|
| 304 |
+install-data-am: |
| 305 |
|
| 306 |
install-dvi: install-dvi-am |
| 307 |
|
| 308 |
|
| 309 |
+install-exec-am: install-binPROGRAMS |
| 310 |
|
| 311 |
install-html: install-html-am |
| 312 |
|
| 313 |
@@ -592,32 +548,23 @@ ps: ps-am |
| 314 |
|
| 315 |
ps-am: |
| 316 |
|
| 317 |
|
| 318 |
+uninstall-am: uninstall-binPROGRAMS |
| 319 |
|
| 320 |
.MAKE: install-am install-strip |
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ |
| 325 |
+ clean-generic ctags distclean distclean-compile \ |
| 326 |
distclean-generic distclean-tags distdir dvi dvi-am html \ |
| 327 |
|
| 328 |
+ html-am info info-am install install-am install-binPROGRAMS \ |
| 329 |
install-data install-data-am install-dvi install-dvi-am \ |
| 330 |
install-exec install-exec-am install-html install-html-am \ |
| 331 |
install-info install-info-am install-man install-pdf \ |
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
|
| 338 |
|
| 339 |
+ install-pdf-am install-ps install-ps-am install-strip \ |
| 340 |
+ installcheck installcheck-am installdirs maintainer-clean \ |
| 341 |
+ maintainer-clean-generic mostlyclean mostlyclean-compile \ |
| 342 |
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ |
| 343 |
+ uninstall-am uninstall-binPROGRAMS |
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
|
| 352 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 353 |
# Otherwise a system limit (for SysV at least) may be exceeded. |
| 354 |
.NOEXPORT: |