summaryrefslogtreecommitdiff
path: root/security/pgp6/files/patch-ldaplib%Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2008-09-01 17:56:05 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2008-09-01 17:56:05 +0000
commit1348e3ff59552fef1dca022dffb19f56bf70093e (patch)
tree1d028adc594e4c491bbf5b4414d303eeb820f33d /security/pgp6/files/patch-ldaplib%Makefile
parentmake it use gcc 4.2 or above instead of 4.1 only. (diff)
Fix build on FreeBSD/i386 8-CURRENT. (7.0 building with GCC 4.2)
Notes
Notes: svn path=/head/; revision=219602
Diffstat (limited to 'security/pgp6/files/patch-ldaplib%Makefile')
-rw-r--r--security/pgp6/files/patch-ldaplib%Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/pgp6/files/patch-ldaplib%Makefile b/security/pgp6/files/patch-ldaplib%Makefile
new file mode 100644
index 000000000000..15c7cd2f412a
--- /dev/null
+++ b/security/pgp6/files/patch-ldaplib%Makefile
@@ -0,0 +1,17 @@
+--- libs/network/ldaplib/Makefile.orig 1999-08-04 11:35:42.000000000 -0700
++++ libs/network/ldaplib/Makefile 2008-08-31 01:17:43.000000000 -0700
+@@ -237,14 +237,6 @@ makeconfig: .makefiles buildtools
+ CC=$(CC); \
+ OLDIFS="$$IFS"; \
+ IFS=":"; \
+-if test -n "$CC"; then \
+- for dir in $$PATH; do \
+- if [ -f $$dir/gcc ]; then \
+- CC=gcc; \
+- break; \
+- fi; \
+- done; \
+-fi; \
+ IFS="$$OLDIFS"; \
+ $(LN) ./build/platforms/$$PLATFORM-$$CC/Make-platform .make-platform; \
+ echo ""; \