Monday, September 16, 2019

Re: [NEW] mail/opensmtpd-filter-dnsbl

On Tue, Sep 17, 2019 at 07:21:45AM +0200, Martijn van Duren wrote:
> Updated for CC flag.

Compilartion fails with:

main.c:32:10: fatal error: 'opensmtpd.h' file not found
#include "opensmtpd.h"
^~~~~~~~~~~~~

below change fixes it:


--- Makefile Tue Sep 17 05:06:55 2019
+++ Makefile Tue Sep 17 05:39:50 2019
@@ -16,13 +16,12 @@

LIB_DEPENDS= mail/opensmtpd-filters/libopensmtpd

-MAKE_FLAGS+= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
+MAKE_FLAGS= CC="${CC}" CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib

# ISC
PERMIT_PACKAGE= Yes

WANTLIB= c pthread event opensmtpd
NO_TEST= Yes
-MAKE_FLAGS= CC="${CC}"

.include <bsd.port.mk>

--
Regards,
Mikolaj

No comments:

Post a Comment