diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-05-15 19:08:33 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-05-15 19:08:33 +0000 |
commit | 4c10fb5b0226380d5eba61cd73c10b5507a5895d (patch) | |
tree | a33c2156b29cce3b7afdb4d2201bb644f929622b /math/gap | |
parent | 387c0d56c3d0aadad9a0466b8fbd871b8020dd40 (diff) |
Notes
Diffstat (limited to 'math/gap')
-rw-r--r-- | math/gap/Makefile | 2 | ||||
-rw-r--r-- | math/gap/files/patch-gap4r4_cnf_gac.in | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/math/gap/Makefile b/math/gap/Makefile index 79ee6ee3f698..ff62fa5d5bb2 100644 --- a/math/gap/Makefile +++ b/math/gap/Makefile @@ -39,7 +39,7 @@ do-configure: (cd ${GAP_WRKSRC}; ./configure) do-build: - (cd ${GAP_WRKSRC}; make) + (cd ${GAP_WRKSRC}; make COPTS="${CFLAGS}") do-install: (${SED} -e "s:GAP_DIR=.*:GAP_DIR=${GAP_LIBDIR}:g" -e "s:GAP_PRG=.*:GAP_PRG=gap:g" ${GAP_WRKSRC}/bin/gap.sh > ${PREFIX}/bin/gap; \ 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@" |