pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/relay-ctrl



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sat Dec 31 16:58:46 UTC 2016

Modified Files:
        pkgsrc/mail/relay-ctrl: Makefile

Log Message:
Fix build on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/relay-ctrl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/relay-ctrl/Makefile
diff -u pkgsrc/mail/relay-ctrl/Makefile:1.3 pkgsrc/mail/relay-ctrl/Makefile:1.4
--- pkgsrc/mail/relay-ctrl/Makefile:1.3 Tue May 17 10:32:07 2016
+++ pkgsrc/mail/relay-ctrl/Makefile     Sat Dec 31 16:58:46 2016
@@ -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,@SETENV@,${SETEN
 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