1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- Fix build when CC is set to an absolute

PR:		121607
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (maintainer)
This commit is contained in:
Martin Wilke 2008-03-13 20:57:08 +00:00
parent ed4a75e3ec
commit ca0037299a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209005

View File

@ -1,5 +1,5 @@
--- Configure.orig Mon Dec 20 14:58:16 1999
+++ Configure Mon Dec 20 15:00:24 1999
--- Configure.orig 2008-03-11 16:27:51.000000000 +0000
+++ Configure 2008-03-11 16:31:27.000000000 +0000
@@ -85,7 +85,7 @@
echo "Checking for libraries"
echo 'main(){}' > test.c
@ -9,6 +9,15 @@
if $CC $CFLAGS $LEXTRA test.c $lib > /dev/null 2>&1; then
LFLAGS="$lib"
fi
@@ -204,7 +204,7 @@
sed -e "s/-LFLAGS-/$_LFLAGS/g" -e "s/-SRCS-/$SRCS/g" \
-e "s/-OBJS-/$OBJS/g" -e "s/-DISTFILES-/$DISTFILES/g" \
-e "s/-COPT-/$_COPT/g" -e "s/-CEXTRA-/$_CEXTRA/g" \
- -e "s/-LEXTRA-/$_LEXTRA/g" -e "s/-CC-/$CC/g" \
+ -e "s/-LEXTRA-/$_LEXTRA/g" -e "s%-CC-%$CC%g" \
<< "END" > Makefile
#
# Automatically generated by ./Configure -- DO NOT EDIT!
@@ -285,7 +285,7 @@
install: