aboutsummaryrefslogtreecommitdiffstats
path: root/smtpd/smtpctl/Makefile
diff options
context:
space:
mode:
authorEric Faurot <eric@faurot.net>2015-05-06 09:17:07 +0200
committerEric Faurot <eric@faurot.net>2015-05-06 09:17:07 +0200
commite082fc88f67baf708295bee3eaf1918345d098ec (patch)
tree0df93278c895101c59488d1b13e3c83e20f1e19e /smtpd/smtpctl/Makefile
parentmake uninstall (diff)
downloadOpenSMTPD-e082fc88f67baf708295bee3eaf1918345d098ec.tar.xz
OpenSMTPD-e082fc88f67baf708295bee3eaf1918345d098ec.zip
Remove compatibility layer for OpenBSD 5.5 and older
Diffstat (limited to 'smtpd/smtpctl/Makefile')
-rw-r--r--smtpd/smtpctl/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/smtpd/smtpctl/Makefile b/smtpd/smtpctl/Makefile
index c564bbdb..3c367d1c 100644
--- a/smtpd/smtpctl/Makefile
+++ b/smtpd/smtpctl/Makefile
@@ -2,9 +2,6 @@
.PATH: ${.CURDIR}/..
-NEED_REALLOCARRAY!= grep -q reallocarray /usr/include/stdlib.h && echo No || echo Yes
-NEED_ERRC!= grep -q errc /usr/include/err.h && echo No || echo Yes
-
PROG= smtpctl
BINOWN= root
@@ -35,15 +32,6 @@ SRCS+= expand.c
SRCS+= tree.c
SRCS+= dict.c
-.if ${NEED_REALLOCARRAY} == "Yes"
-CFLAGS+= -DNEED_REALLOCARRAY
-SRCS+= reallocarray.c
-.endif
-.if ${NEED_ERRC} == "Yes"
-CFLAGS+= -DNEED_ERRC
-SRCS+= errc.c
-.endif
-
LDADD+= -lutil -lz -lcrypto
DPADD+= ${LIBUTIL} ${LIBZ} ${LIBCRYPTO}