summaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 15:00:50 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 15:00:50 +0000
commit7d5d0fca715ee9a7953e7864354ad0cc10706978 (patch)
treee303acd59cb37500c85db45927b7c3213588d3ca /mail/fetchmail
parent39aae52e063ed023435320f21c58a1c16d866d1f (diff)
downloadpkgsrc-7d5d0fca715ee9a7953e7864354ad0cc10706978.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index b8e65b10377..afe5b4c2fe1 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.184 2014/12/23 06:48:32 mef Exp $
+# $NetBSD: Makefile,v 1.185 2016/02/25 15:00:50 jperkin Exp $
# Note to updaters: mail/fetchmailconf reaches over here, make sure it builds.
DISTNAME= fetchmail-6.3.22
@@ -11,8 +11,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fetchmail.info/
COMMENT= Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
-.include "../../mk/bsd.prefs.mk"
-
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-hesiod
@@ -20,10 +18,8 @@ CONFIGURE_ENV+= PYTHON=:
LDFLAGS+= ${CFLAGS}
USE_TOOLS+= msgfmt tbl
-.if ${OPSYS} == "Darwin"
-LDFLAGS+= -lresolv
+LDFLAGS.Darwin+= -lresolv
CFLAGS.Darwin+= -DBIND_8_COMPAT -DHAVE_RESOLV_H
-.endif
.include "options.mk"