summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron>2010-01-25 23:04:49 +0000
committertron <tron>2010-01-25 23:04:49 +0000
commitae637ac812cad9e56d56b146a7657bf34e7effc4 (patch)
tree0c2194c6cd63b2d6c1a899ff333bdfad4cff79e4 /mail
parentf1968008f0f8a77917fbafa58179137eeebee72b (diff)
downloadpkgsrc-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')
-rw-r--r--mail/imap-uw/Makefile8
-rw-r--r--mail/imap-uw/distinfo4
-rw-r--r--mail/imap-uw/patches/patch-ab13
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