1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/dns/void-zones-tools/Makefile
Vidar Karlsen 11a7b638a6 dns/void-zones-tools: Fix build with WITH_PIE=YES
Patch CFLAGS from being overridden and remove -fno-pic to facilitate
building with WITH_PIE=yes

PR:		275039
Reported by:	Marek Zarychta
2023-11-24 01:12:30 -05:00

35 lines
826 B
Makefile

PORTNAME= void-zones-tools
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.2-18
DISTVERSIONSUFFIX= -g204634a
PORTREVISION= 1
CATEGORIES= dns
MAINTAINER= vidar@karlsen.tech
COMMENT= Prepare a list of void zones that can be readily fed into Unbound
WWW= https://github.com/cyclaero/void-zones-tools
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss
USES= compiler:c11
USE_GITHUB= yes
GH_ACCOUNT= cyclaero
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hosts2zones ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/etc/void-zones
${INSTALL_SCRIPT} ${WRKSRC}/void-zones-update.sh ${STAGEDIR}${PREFIX}/bin
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>