summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-03-23 15:14:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-03-23 15:14:55 +0000
commit4b07ceed7f987d18d36ec690fc9d57c85fba5496 (patch)
tree34e206085845853e2870a6ed191099d99e1648c8 /usr.sbin/smtpd
parent51383ab6d44fbfb591a859d44f4b539f89b4eecf (diff)
good god no you do not use LDFLAGS to pull in libraries
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/makemap/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/makemap/Makefile b/usr.sbin/smtpd/makemap/Makefile
index 3df4fbfb057..b1fb315a7fa 100644
--- a/usr.sbin/smtpd/makemap/Makefile
+++ b/usr.sbin/smtpd/makemap/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2009/03/16 22:02:56 jacekm Exp $
+# $OpenBSD: Makefile,v 1.7 2009/03/23 15:14:54 deraadt Exp $
.PATH: ${.CURDIR}/..
@@ -17,5 +17,6 @@ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare -Wbounded
SRCS= parse.y makemap.c aliases.c map.c log.c util.c
-LDFLAGS= -lutil
+DPADD+= ${LIBUTIL}
+LDADD+= -lutil
.include <bsd.prog.mk>