pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/relay-ctrl Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/927cfaf054d8
branches:  trunk
changeset: 356443:927cfaf054d8
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Dec 31 16:58:46 2016 +0000

description:
Fix build on SunOS.

diffstat:

 mail/relay-ctrl/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 19746a096a9b -r 927cfaf054d8 mail/relay-ctrl/Makefile
--- a/mail/relay-ctrl/Makefile  Sat Dec 31 15:13:43 2016 +0000
+++ b/mail/relay-ctrl/Makefile  Sat Dec 31 16:58:46 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/05/17 10:32:07 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2016/12/31 16:58:46 schmonz Exp $
 #
 
 DISTNAME=      relay-ctrl-3.1.1
@@ -36,6 +36,9 @@
 SUBST_SED.paths+=      -e 's,@SH@,${SH},g'
 SUBST_STAGE.paths=     do-configure
 
+CFLAGS.SunOS+=         -DSOL_TCP=SOL_SOCKET
+LDFLAGS.SunOS+=                -lsocket
+
 post-extract:
        for f in ${ADDON_SCRIPTS}; do                                   \
                ${CP} ${FILESDIR}/$$f.sh ${WRKSRC}/$$f;                 \



Home | Main Index | Thread Index | Old Index