ports/mail/deforaos-mailer/files/patch-tests_Makefile
Pierre Pronchery 9efb18e4fa mail/deforaos-mailer: update to version 0.2.0
Sponsored by:	The FreeBSD Foundation
2024-10-22 01:20:12 +02:00

11 lines
501 B
Text

--- tests/Makefile.orig 2020-01-12 08:55:32 UTC
+++ tests/Makefile
@@ -30,7 +30,7 @@ email_OBJS = $(OBJDIR)email.o
$(CC) -o $(OBJDIR)date$(EXEEXT) $(date_OBJS) $(date_LDFLAGS)
email_OBJS = $(OBJDIR)email.o
-email_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
+email_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags openssl`
email_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer
$(OBJDIR)email$(EXEEXT): $(email_OBJS)