diff --git a/dns/doh-proxy/Makefile b/dns/doh-proxy/Makefile index 066a0369c609..b315af4861ef 100644 --- a/dns/doh-proxy/Makefile +++ b/dns/doh-proxy/Makefile @@ -1,23 +1,30 @@ PORTNAME= doh-proxy DISTVERSION= 0.9.11 CATEGORIES= dns MASTER_SITES= CRATESIO DISTFILES= ${CARGO_DIST_SUBDIR}/${DISTNAME}${CARGO_CRATE_EXT} MAINTAINER= ashish@FreeBSD.org COMMENT= DNS-over-HTTP server proxy WWW= https://github.com/DNSCrypt/doh-server LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cargo PLIST_FILES= bin/doh-proxy # make cargo-crates > Makefile.crates +.include + +.if ${ARCH} == powerpc +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/doh-proxy .include