/[gentoo-x86]/app-arch/zip/files/zip-3.0-build.patch
Gentoo

Contents of /app-arch/zip/files/zip-3.0-build.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Sep 21 10:08:48 2008 UTC (11 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump #237141 by Conrad Kostecki.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)

1 respect build environment settings
2
3 --- zip/unix/configure
4 +++ zip/unix/configure
5 @@ -18,7 +18,7 @@
6
7 CC=${1-cc}
8 CFLAGS=${2-"-I. -DUNIX"}
9 -LFLAGS1=''
10 +LFLAGS1="${LDFLAGS}"
11 LFLAGS2=''
12 LN="ln -s"
13
14 @@ -118,7 +118,7 @@ _EOF_
15 fi
16
17 # optimization flags
18 -if test -n "${CFLAGS_OPT}"; then
19 +if false; then
20 CFLAGS="${CFLAGS} ${CFLAGS_OPT}"
21 CFLAGS_BZ="${CFLAGS_BZ} ${CFLAGS_OPT}"
22 fi
23 @@ -220,13 +220,6 @@ fi
24 echo Check for the C preprocessor
25 # on SVR4, cc -E does not produce correct assembler files. Need /lib/cpp.
26 CPP="${CC} -E"
27 -# solaris as(1) needs -P, maybe others as well ?
28 -[ -f /usr/ccs/lib/cpp ] && CPP="/usr/ccs/lib/cpp -P"
29 -[ -f /usr/lib/cpp ] && CPP=/usr/lib/cpp
30 -[ -f /lib/cpp ] && CPP=/lib/cpp
31 -[ -f /usr/bin/cpp ] && CPP=/usr/bin/cpp
32 -[ -f /xenix ] && CPP="${CC} -E"
33 -[ -f /lynx.os ] && CPP="${CC} -E"
34
35 echo "#include <stdio.h>" > conftest.c
36 $CPP conftest.c >/dev/null 2>/dev/null || CPP="${CC} -E"

  ViewVC Help
Powered by ViewVC 1.1.20