pkgsrc-wip/lldpd/options.mk
Makoto Fujiwara aaaf6257b0 (Makefile)
+# interfaces-bsd.c:45:34: error: net/agr/if_agrioctl.h: No such file or directory
+NOT_FOR_PLATFORM=      NetBSD-5*-*

-LDFLAGS+=                 -Wl,-R${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE

(options.mk)
sort options alphabetically
2014-06-11 13:55:19 +00:00

23 lines
649 B
Makefile

# $NetBSD: options.mk,v 1.5 2014/06/11 13:55:20 makoto Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lldpd
PKG_SUPPORTED_OPTIONS= json snmp xml
PKG_SUGGESTED_OPTIONS= json snmp xml
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mjson)
. include "../../textproc/jansson/buildlink3.mk"
CONFIGURE_ARGS+= --with-json
.endif
.if !empty(PKG_OPTIONS:Msnmp)
. include "../../net/net-snmp/buildlink3.mk"
USE_TOOLS+= perl
BUILDLINK_API_DEPENDS.perl+= perl>=5.16.0
. include "../../lang/perl5/buildlink3.mk"
CONFIGURE_ARGS+= --with-snmp
.endif
.if !empty(PKG_OPTIONS:Mxml)
. include "../../textproc/libxml2/buildlink3.mk"
CONFIGURE_ARGS+= --with-xml
.endif