ports/mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile

20 lines
533 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: bin/smtp-vilter/Makefile
--- bin/smtp-vilter/Makefile.orig
+++ bin/smtp-vilter/Makefile
@@ -12,7 +12,7 @@ YFLAGS= -d -p vilter
LFLAGS= -Pvilter -olex.yy.c
LINTFLAGS+= -u
-CLEANFILES+= y.tab.h rt-dynamic
+CLEANFILES+= rt-dynamic
MAN= smtp-vilter.8 smtp-vilter.conf.5
MANDIR= /usr/local/man/cat
@@ -27,5 +27,5 @@ BINDIR= /usr/local/sbin
CFLAGS+= -I/usr/local/include -DENABLE_LDAP -DLDAP_DEPRECATED
.endif
.if defined(ENABLE_LDAP) || defined(WANT_LDAP)
-LDADD+= -lldap_r -llber
+LDADD+= -lldap -llber
.endif