aboutsummaryrefslogtreecommitdiffstats
path: root/math/gap/files
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-05-16 03:08:33 +0800
committerthierry <thierry@FreeBSD.org>2005-05-16 03:08:33 +0800
commitd6a68482ae7e1306d710a084978ec9abb0086c50 (patch)
tree781b1381b93678d942890ecfb69b470d24893169 /math/gap/files
parentdce8dfb74bff2e5424e53b4670ca8b9999f6304c (diff)
downloadfreebsd-ports-gnome-d6a68482ae7e1306d710a084978ec9abb0086c50.tar.gz
freebsd-ports-gnome-d6a68482ae7e1306d710a084978ec9abb0086c50.tar.zst
freebsd-ports-gnome-d6a68482ae7e1306d710a084978ec9abb0086c50.zip
Respect CFLAGS.
PR: ports/81047 (follow-up) Submitted by: maintainer
Diffstat (limited to 'math/gap/files')
-rw-r--r--math/gap/files/patch-gap4r4_cnf_gac.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/gap/files/patch-gap4r4_cnf_gac.in b/math/gap/files/patch-gap4r4_cnf_gac.in
new file mode 100644
index 000000000000..412114f27096
--- /dev/null
+++ b/math/gap/files/patch-gap4r4_cnf_gac.in
@@ -0,0 +1,19 @@
+--- gap4r4/cnf/gac.in.orig Sun May 15 18:26:27 2005
++++ gap4r4/cnf/gac.in Sun May 15 18:26:23 2005
+@@ -67,13 +67,13 @@ stat_identifier="USER";
+
+ # These three should be filled in by the standard autoconf procedures
+ c_compiler="@CC@"
+-c_options="@CFLAGS@"
++c_options="@CFLAGS@ ${CFLAGS}"
+ c_linker="@CC@"
+-c_link_options=""
++c_link_options="${LDFLAGS}"
+ c_libs="@LIBS@"
+
+ # These three will need special care
+-c_dyn_options="@CDYNOPTIONS@"
++c_dyn_options="@CDYNOPTIONS@ ${CFLAGS}"
+ c_dyn_linker="@CDYNLINKER@"
+ c_dyn_linking="@CDYNLINKING@"
+ c_dynlibs="@C_DYNLIBS@"