diff options
author | tron <tron@pkgsrc.org> | 2010-01-25 23:04:49 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2010-01-25 23:04:49 +0000 |
commit | 8253235ad888e5d2badf3e0a23f5d908cb475042 (patch) | |
tree | 0c2194c6cd63b2d6c1a899ff333bdfad4cff79e4 | |
parent | 281eb969a0d7670e6b4cf718c7b3549ef86b4441 (diff) | |
download | pkgsrc-8253235ad888e5d2badf3e0a23f5d908cb475042.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.
-rw-r--r-- | mail/imap-uw/Makefile | 8 | ||||
-rw-r--r-- | mail/imap-uw/distinfo | 4 | ||||
-rw-r--r-- | mail/imap-uw/patches/patch-ab | 13 |
3 files changed, 20 insertions, 5 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index b814fe58983..3009d1337b7 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.131 2009/08/21 11:55:50 obache Exp $ +# $NetBSD: Makefile,v 1.132 2010/01/25 23:04:49 tron Exp $ # # ATTENTION: # The Kerberos support in this software is known to be problematic. If you @@ -37,7 +37,13 @@ MAKE_JOBS_SAFE= no # Each platform has its own special target in the imap Makefiles. OPSYSVARS+= BUILD_TARGET + +.include "../../mk/compiler.mk" +. if empty(CC_VERSION:Mgcc-) +BUILD_TARGET.SunOS= soc +. else BUILD_TARGET.SunOS= gso +. endif .if ${OPSYS} == Linux && exists(/usr/include/security/pam_appl.h) BUILD_TARGET.Linux= lnp .else diff --git a/mail/imap-uw/distinfo b/mail/imap-uw/distinfo index 4d2de4fd271..0a0e7001b40 100644 --- a/mail/imap-uw/distinfo +++ b/mail/imap-uw/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.38 2010/01/11 09:26:01 tron Exp $ +$NetBSD: distinfo,v 1.39 2010/01/25 23:04:49 tron Exp $ SHA1 (imap-2007e.tar.Z) = 24c63cad8d0e74aa76e4341fcfa54d24f23a8c70 RMD160 (imap-2007e.tar.Z) = 7d6af203419975f763d7ec17b6a4544c94490b50 Size (imap-2007e.tar.Z) = 2789469 bytes SHA1 (patch-aa) = ac880c250dfee3d0d316063ace5b92cd2f190510 -SHA1 (patch-ab) = 0cfdae5b64f41d45c027483364216b20bc8724b4 +SHA1 (patch-ab) = c7985a2db4d4b5c8d2644492b2e48f8ebe2d64b1 SHA1 (patch-ac) = eab1435fdf7ab59ea8afbde949a92dd756e6aea3 SHA1 (patch-ad) = d817dca51413bb8d228c2fabadffa3b924dff11d SHA1 (patch-ae) = 85e0917ce1934f6789bbce45ad5321e28cf294d9 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 |