diff options
author | tron <tron> | 2010-01-25 23:04:49 +0000 |
---|---|---|
committer | tron <tron> | 2010-01-25 23:04:49 +0000 |
commit | ae637ac812cad9e56d56b146a7657bf34e7effc4 (patch) | |
tree | 0c2194c6cd63b2d6c1a899ff333bdfad4cff79e4 /mail/imap-uw/patches | |
parent | f1968008f0f8a77917fbafa58179137eeebee72b (diff) | |
download | pkgsrc-ae637ac812cad9e56d56b146a7657bf34e7effc4.tar.gz |
Use "soc" target if building with Sun Studio C++ and modify that target
to use "cc" rather than an absolute path (which is no longer correct).
This fixes the build with that compiler without breaking the build
using GCC.
Diffstat (limited to 'mail/imap-uw/patches')
-rw-r--r-- | mail/imap-uw/patches/patch-ab | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/imap-uw/patches/patch-ab b/mail/imap-uw/patches/patch-ab index 734cf648347..b5b5ad68e28 100644 --- a/mail/imap-uw/patches/patch-ab +++ b/mail/imap-uw/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.24 2010/01/11 09:26:02 tron Exp $ +$NetBSD: patch-ab,v 1.25 2010/01/25 23:04:49 tron Exp $ --- src/osdep/unix/Makefile.orig 2008-06-04 19:18:34.000000000 +0100 -+++ src/osdep/unix/Makefile 2010-01-11 09:17:00.000000000 +0000 ++++ src/osdep/unix/Makefile 2010-01-25 22:56:57.000000000 +0000 @@ -48,7 +48,7 @@ # Try to have some consistency in GCC builds. We want optimization, but we # also want to be able to debug. @@ -29,6 +29,15 @@ $NetBSD: patch-ab,v 1.24 2010/01/11 09:26:02 tron Exp $ RSHPATH=/usr/bin/rsh \ BASECFLAGS="$(GCCCFLAGS)" \ BASELDFLAGS="-lcrypt" +@@ -718,7 +718,7 @@ + RSHPATH=/usr/bin/rsh \ + BASECFLAGS="-g -O -w" \ + BASELDFLAGS="-lsocket -lnsl -lgen" \ +- RANLIB=true CC=/opt/SUNWspro/bin/cc ++ RANLIB=true CC=cc + + + # Note: It is a long and disgusting story about why cc is set to ucbcc. You @@ -855,7 +855,7 @@ @$(SH) ARCHIVE |