USE_GCC=any has been equivalent to USE_GCC=yes in most cases (such
as i386 and amd64 since 12.x and depending on configuration 11.x,
most newer installations on other platforms, and 13.x across the
board).
Since commit 96c17633d9
Mk/bsd.gcc.mk is treating them as
different spellings of the same, so continue the deorbiting of the
USE_GCC=any form and simply replace it with USE_GCC=yes.
This should not make any functional difference at all.
Discussed with: mat, linimon, pkubaj
64 lines
2.1 KiB
Makefile
64 lines
2.1 KiB
Makefile
# Created by: Peter Kieser <peter@kieser.ca>
|
|
|
|
PORTNAME= spamdyke
|
|
PORTVERSION= 5.0.1
|
|
PORTREVISION= 8
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.spamdyke.org/releases/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Qmail filter for monitoring and intercepting SMTP connections
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BROKEN_mips= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable
|
|
BROKEN_mips64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable
|
|
BROKEN_powerpc64= fails to build: error: nested functions are disabled, use -fnested-functions to re-enable
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/tcprules:sysutils/ucspi-tcp
|
|
|
|
USES= cpe qmail tar:tgz
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/spamdyke
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET= spamdyke
|
|
USE_GCC= yes
|
|
|
|
OPTIONS_DEFINE= TLS DEBUG DEBUG_EXCESSIVE DOCS
|
|
OPTIONS_DEFAULT= TLS
|
|
DEBUG_DESC= Enable debugging output
|
|
DEBUG_EXCESSIVE_DESC= Enable excessive debugging output
|
|
|
|
TLS_CONFIGURE_ENABLE= tls
|
|
TLS_USES= ssl
|
|
TLS_LDFLAGS= -L${OPENSSLLIB}
|
|
TLS_CFLAGS= -I${OPENSSLINC}
|
|
|
|
DEBUG_CONFIGURE_ENABLE= debug-output
|
|
DEBUG_EXCESSIVE_CONFIGURE_ENABLE= excessive-output
|
|
|
|
PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \
|
|
README.html README_ip_file_format.html \
|
|
README_rdns_directory_format.html README_rdns_file_format.html \
|
|
UPGRADING.txt UPGRADING_version_3_to_version_4.txt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${SSL_DEFAULT} == base
|
|
BROKEN_FreeBSD_12= checking for library containing SSL_library_init... no
|
|
BROKEN_FreeBSD_13= checking for library containing SSL_library_init... no
|
|
BROKEN_FreeBSD_14= checking for library containing SSL_library_init... no
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#^CFLAGS :=.*#CFLAGS = ${CFLAGS}#' ${WRKSRC}/Makefile.in
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/spamdyke ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/documentation/spamdyke.conf.example \
|
|
${STAGEDIR}${PREFIX}/etc/spamdyke.conf.sample
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|