pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/opensmtpd-filter-dnsbl



Module Name:    pkgsrc
Committed By:   vins
Date:           Tue Sep  5 13:42:32 UTC 2023

Modified Files:
        pkgsrc/mail/opensmtpd-filter-dnsbl: Makefile

Log Message:
opensmtpd-filter-dnsbl: require _GNU_SOURCE for strcasestr() on Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/opensmtpd-filter-dnsbl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/opensmtpd-filter-dnsbl/Makefile
diff -u pkgsrc/mail/opensmtpd-filter-dnsbl/Makefile:1.1 pkgsrc/mail/opensmtpd-filter-dnsbl/Makefile:1.2
--- pkgsrc/mail/opensmtpd-filter-dnsbl/Makefile:1.1     Mon Sep  4 10:32:47 2023
+++ pkgsrc/mail/opensmtpd-filter-dnsbl/Makefile Tue Sep  5 13:42:32 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/09/04 10:32:47 vins Exp $
+# $NetBSD: Makefile,v 1.2 2023/09/05 13:42:32 vins Exp $
 
 DISTNAME=      filter-dnsbl-0.3
 PKGNAME=       ${DISTNAME:S|^|opensmtpd-|}
@@ -14,6 +14,8 @@ DEPENDS+=     opensmtpd-[0-9]*:../../mail/op
 
 USE_BSD_MAKEFILE=      yes
 
+CFLAGS.Linux+=         -D_GNU_SOURCE #strcasestr() 
+
 SUBST_CLASSES+=                prefix
 SUBST_STAGE.prefix=    pre-configure
 SUBST_FILES.prefix=    README.dnsbl



Home | Main Index | Thread Index | Old Index