diff options
author | grant <grant> | 2004-03-07 10:13:46 +0000 |
---|---|---|
committer | grant <grant> | 2004-03-07 10:13:46 +0000 |
commit | 6a5e908539d117877039c3d68e66f00af79c2959 (patch) | |
tree | b54e6f9d4a74a018d74df659cd65d0afccc3bfe8 /mail/postfix/Makefile | |
parent | ce37a7e9b911ac138ee20938076ed74a05be92e5 (diff) | |
download | pkgsrc-6a5e908539d117877039c3d68e66f00af79c2959.tar.gz |
install rc.subr-style script on all platforms but NetBSD-1.5 and above
(which already has a suitable /etc/rc.d/postfix).
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r-- | mail/postfix/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index a1d96e4594a..bbb49fa305d 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.120 2004/03/06 06:52:43 grant Exp $ +# $NetBSD: Makefile,v 1.121 2004/03/07 10:13:46 grant Exp $ DISTNAME= postfix-2.0.18 PKGREVISION= 1 @@ -30,6 +30,12 @@ CCARGS+= -DDEF_DAEMON_DIR=\"${LIBEXECDIR}\" .include "../../mk/bsd.prefs.mk" +# NetBSD 1.5 and above has /etc/rc.d/postfix already which is +# suitable. +.if empty(MACHINE_PLATFORM:MNetBSD-1.[5-9]*-*) +RCD_SCRIPTS= postfix +.endif + FIX_RPATH+= AUXLIBS BUILD_DEFS+= POSTFIX_USE_INET6 |