diff options
author | sketch <sketch@pkgsrc.org> | 2006-07-10 20:32:59 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2006-07-10 20:32:59 +0000 |
commit | 17183945bbb31a647c767724d3f30fa9fe8a039d (patch) | |
tree | 86c677b7eecb28956ed7d7ebc02abd67f5a8228c /mail/gld | |
parent | 84d38091122bac1f0473c2091205e3ce6515ac22 (diff) | |
download | pkgsrc-17183945bbb31a647c767724d3f30fa9fe8a039d.tar.gz |
Solaris fixes:
- Link against socket libraries.
- Don't try to return a value from a void function (SunPro).
Diffstat (limited to 'mail/gld')
-rw-r--r-- | mail/gld/Makefile | 4 | ||||
-rw-r--r-- | mail/gld/distinfo | 3 | ||||
-rw-r--r-- | mail/gld/patches/patch-ag | 17 |
3 files changed, 22 insertions, 2 deletions
diff --git a/mail/gld/Makefile b/mail/gld/Makefile index c7f15d7f95c..6eefbcb5332 100644 --- a/mail/gld/Makefile +++ b/mail/gld/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/06/06 17:32:20 ghen Exp $ +# $NetBSD: Makefile,v 1.20 2006/07/10 20:32:59 sketch Exp $ # DISTNAME= gld-1.6 @@ -13,6 +13,8 @@ COMMENT= Standalone greylisting server for Postfix GNU_CONFIGURE= yes +LDFLAGS.SunOS+= -lsocket -lnsl -lresolv + EGDIR= ${PREFIX}/share/examples/${PKGBASE} CONF_FILES_PERMS= ${EGDIR}/gld.conf ${PKG_SYSCONFDIR}/gld.conf \ ${BINOWN} ${GLD_GROUP} 0640 diff --git a/mail/gld/distinfo b/mail/gld/distinfo index b1b30ebbd67..aa9ce7a7d97 100644 --- a/mail/gld/distinfo +++ b/mail/gld/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2006/03/02 21:03:39 wiz Exp $ +$NetBSD: distinfo,v 1.13 2006/07/10 20:32:59 sketch Exp $ SHA1 (gld-1.6.tgz) = 09a87119b376e370c63444e2bcd1111288b78267 RMD160 (gld-1.6.tgz) = 72ff4363f3813f421e64e7644142cf227a43885d @@ -9,3 +9,4 @@ SHA1 (patch-ac) = 876f896412a48d18c0ca314af59f82b4c9d915e2 SHA1 (patch-ad) = 7d810a935677022953d01b7a146881d8cf86162b SHA1 (patch-ae) = e610e20acee890ae9a53eb84382fb1d741736bb3 SHA1 (patch-af) = 9d5a06fa399963937fc8a0c94a80ac85528f872d +SHA1 (patch-ag) = ef1b5acca6ba4cfc75ffd553624693b83b4f73ab diff --git a/mail/gld/patches/patch-ag b/mail/gld/patches/patch-ag new file mode 100644 index 00000000000..59b419b464f --- /dev/null +++ b/mail/gld/patches/patch-ag @@ -0,0 +1,17 @@ +$NetBSD: patch-ag,v 1.1 2006/07/10 20:32:59 sketch Exp $ + +--- sql.c.orig Sun Feb 5 20:17:36 2006 ++++ sql.c Sun Feb 5 20:18:50 2006 +@@ -33,10 +33,10 @@ + void SQLClose(void) + { + #ifdef _DB_MYSQL_ +-return(MySQLClose()); ++MySQLClose(); + #endif + #ifdef _DB_PGSQL_ +-return(PgSQLClose()); ++PgSQLClose(); + #endif + } + |