From 282eece77ad356c22a17c23ad8baa54adff97c93 Mon Sep 17 00:00:00 2001 From: is Date: Tue, 18 Feb 2003 16:13:03 +0000 Subject: Make this link on Solaris. --- mail/mini_sendmail/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mail/mini_sendmail/Makefile.common') diff --git a/mail/mini_sendmail/Makefile.common b/mail/mini_sendmail/Makefile.common index 50faea54d3f..c2eadb51927 100644 --- a/mail/mini_sendmail/Makefile.common +++ b/mail/mini_sendmail/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.2 2003/02/15 22:34:24 wiz Exp $ +# $NetBSD: Makefile.common,v 1.3 2003/02/18 16:13:03 is Exp $ # DISTNAME= mini_sendmail-1.3.2 CATEGORIES= mail @@ -10,6 +10,12 @@ COMMENT= accept email on behalf of the real sendmail without spooling FILESDIR= ${.CURDIR}/../mini_sendmail/files +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == SunOS) +MAKE_ENV+="SYSV_LIBS=-lsocket -lnsl" +.endif + post-build: ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ <${FILESDIR}/mailer.conf >${WRKDIR}/mailer.conf.mini_sendmail -- cgit v1.2.3