diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-07-03 08:25:56 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-07-03 08:25:56 +0000 |
commit | 6350ad7548e1d5fa6e2770c3ecc9871c2fd03b9f (patch) | |
tree | 2805dfc5fb33e67d7a23f74e00140aedc5752c8b /x11/xloadimage/files | |
parent | 860bbbdbc996de65fcace724c7f6eada466dff6c (diff) | |
download | FreeBSD-ports-6350ad7548e1d5fa6e2770c3ecc9871c2fd03b9f.zip FreeBSD-ports-6350ad7548e1d5fa6e2770c3ecc9871c2fd03b9f.tar.gz |
Respect CC, CFLAGS and install missed manpage.
PR: 19645
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'x11/xloadimage/files')
-rw-r--r-- | x11/xloadimage/files/patch-6 | 11 | ||||
-rw-r--r-- | x11/xloadimage/files/patch-7 | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/x11/xloadimage/files/patch-6 b/x11/xloadimage/files/patch-6 new file mode 100644 index 0000000..b2cb0f1 --- /dev/null +++ b/x11/xloadimage/files/patch-6 @@ -0,0 +1,11 @@ +--- Makefile Tue Nov 9 17:25:12 1993 ++++ Makefile Sun Jul 2 10:56:48 2000 +@@ -24,5 +24,7 @@ + + autoconfig: autoconfig.c +- $(CC) -g -o autoconfig autoconfig.c ++ $(CC) -o autoconfig autoconfig.c -DDEF_CC='"${CC}"' \ ++ -DDEF_OPT_FLAGS='"${OPT_FLAGS}"' \ ++ -DDEF_INSTALL_DIR='"${PREFIX}/bin"' + + # manual configuration target diff --git a/x11/xloadimage/files/patch-7 b/x11/xloadimage/files/patch-7 new file mode 100644 index 0000000..bca1abc --- /dev/null +++ b/x11/xloadimage/files/patch-7 @@ -0,0 +1,12 @@ +--- Make.conf Tue Nov 9 17:26:55 1993 ++++ Make.conf Sun Jul 2 10:57:03 2000 +@@ -12,5 +12,8 @@ + + # Optimization flags for C compiler. +-OPT_FLAGS= ++# A comment inside autoconfig.c recommends the two extra options: ++# -fstrength-reduce and -finline-functions ++# Unfortunately, strength-reduce triggers a bug in the gcc-2.95.2. ++OPT_FLAGS:=-fno-strength-reduce -finline-functions ${CFLAGS} + + # Miscellaneous system libraries. |