diff options
Diffstat (limited to 'dns/aardvark-dns/Makefile')
| -rw-r--r-- | dns/aardvark-dns/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/dns/aardvark-dns/Makefile b/dns/aardvark-dns/Makefile index d9699254b371..38c6c6ea2c0a 100644 --- a/dns/aardvark-dns/Makefile +++ b/dns/aardvark-dns/Makefile @@ -4,7 +4,7 @@ DISTVERSION= 1.17.0 CATEGORIES= dns MAINTAINER= osa@FreeBSD.org -COMMENT= Authoritative dns server +COMMENT= Authoritative dns server for A/AAAA container records WWW= https://github.com/containers/aardvark-dns LICENSE= APACHE20 @@ -15,13 +15,14 @@ USES= cargo USE_GITHUB= yes GH_ACCOUNT= containers -.if !exists(/usr/include/sys/inotify.h) -LIB_DEPENDS= libinotify.so:devel/libinotify -LDFLAGS+= -L${LOCALBASE}/lib -linotify -.endif +PLIST_FILES= bin/aardvark-dns -.include "${.CURDIR}/Makefile.crates" +.include <bsd.port.options.mk> -PLIST_FILES= bin/aardvark-dns +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500050 +LIB_DEPENDS= libinotify.so:devel/libinotify +USES+= localbase:ldflags +LDFLAGS+= -linotify +.endif .include <bsd.port.mk> |
