diff options
Diffstat (limited to 'net/lldpd/Makefile')
-rw-r--r-- | net/lldpd/Makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/net/lldpd/Makefile b/net/lldpd/Makefile index 8ce3e0ca9ac..78aaba159f1 100644 --- a/net/lldpd/Makefile +++ b/net/lldpd/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2014/02/12 23:18:23 tron Exp $ +# $NetBSD: Makefile,v 1.8 2014/06/13 03:06:09 mef Exp $ -DISTNAME= lldpd-0.7.6 -PKGREVISION= 1 +DISTNAME= lldpd-0.7.9 CATEGORIES= net MASTER_SITES= http://media.luffy.cx/files/lldpd/ @@ -15,12 +14,22 @@ LICENSE= isc PKG_INSTALLATION_TYPES= overwrite pkgviews +# interfaces-bsd.c:45:34: error: net/agr/if_agrioctl.h: No such file or directory +NOT_FOR_PLATFORM= NetBSD-5*-* USE_LIBTOOL= yes +USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-privsep-chroot=${PKG_HOME._lldpd} +# run/lldpd.socket is created under this directory +# (the default is ${PRERIX}/var, changed since 0.7.9) +CONFIGURE_ARGS+= --localstatedir=${VARBASE} BUILD_DEFS+= VARBASE +# CCLD lldpd +# ld: cannot find -lperl +LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE + RCD_SCRIPTS= lldpd PKG_GROUPS= _lldpd PKG_USERS= _lldpd:_lldpd @@ -31,6 +40,10 @@ AUTO_MKDIRS= yes INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 +.include "options.mk" + BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.5 .include "../../devel/libevent/buildlink3.mk" +.include "../../mk/readline.buildlink3.mk" + .include "../../mk/bsd.pkg.mk" |