024899ba74
a few changes to better compile on NetBSD
28 lines
636 B
Makefile
28 lines
636 B
Makefile
# $NetBSD: Makefile,v 1.2 2006/06/11 17:09:47 gschwarz Exp $
|
|
|
|
DISTNAME= dnrd-2.20.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dnrd/}
|
|
|
|
MAINTAINER= schwarz@NetBSD.org
|
|
HOMEPAGE= http://dnrd.sourceforge.net/
|
|
COMMENT= Dnrd is a caching forwarding DNS proxy
|
|
|
|
.include "options.mk"
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
LIBS+= -lrt # for sem_*()
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= sbin share/doc/dnrd
|
|
|
|
post-install:
|
|
${RM} -f ${PREFIX}/share/doc/dnrd/README-cygwin \
|
|
${PREFIX}/share/doc/dnrd/NEWS
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|