summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-05-15 02:02:22 +0200
committerUser Wartung <wartung@peng.spline.inf.fu-berlin.de>2014-05-15 02:02:22 +0200
commitba9d46fef254e092b9dba82abc3b6ea1c19ffb0d (patch)
tree6c8278031580fec67841e444f4270a66783c57b9
parentfd292b8393b43895fe5826cf99d3d981ab319b2a (diff)
downloadlldpd-ba9d46fef254e092b9dba82abc3b6ea1c19ffb0d.tar.gz
lldpd-ba9d46fef254e092b9dba82abc3b6ea1c19ffb0d.tar.bz2
lldpd-ba9d46fef254e092b9dba82abc3b6ea1c19ffb0d.zip
fix portlint errors and warningsHEADmaster
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5f306a2..0cc16a1 100644
--- a/Makefile
+++ b/Makefile
@@ -8,15 +8,19 @@ MASTER_SITES= http://media.luffy.cx/files/lldpd/
MAINTAINER= alexander@sulfrian.net
COMMENT= LLDP (802.1ab)/CDP/EDP/SONMP/FDP daemon and SNMP subagent
+
LICENSE= ISCL
LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2
+
CONFLICTS_INSTALL= openlldp
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-privsep-chroot=/var/empty
-CONFIGURE_ENV+= CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
-CONFIGURE_ENV+= LIBEVENT_CFLAGS=" " LIBEVENT_LIBS="-L/usr/local/lib/event2/ -levent-2.0"
+CONFIGURE_ENV+= LIBEVENT_CFLAGS=" " LIBEVENT_LIBS="-L${LOCALBASE}/lib/event2/ -levent-2.0"
DOCS= NEWS README.md
USE_RC_SUBR= lldpd
@@ -24,7 +28,6 @@ USE_RC_SUBR= lldpd
USERS= _lldpd
GROUPS= _lldpd
-
OPTIONS_DEFINE= JSON XML SNMP
JSON_DESC= "Enable JSON output via Jansson"
XML_DESC= "Enable XML output via libxml2"
@@ -36,7 +39,7 @@ JSON_CONFIGURE_ENV= JANSSON_CFLAGS=" " JANSSON_LIBS="-ljansson"
JSON_CONFIGURE_WITH= json
XML_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
-XML_CONFIGURE_ENV= XML2_CFLAGS="-I/usr/local/include/libxml2" XML2_LIBS="-lxml2"
+XML_CONFIGURE_ENV= XML2_CFLAGS="-I${LOCALBASE}/include/libxml2" XML2_LIBS="-lxml2"
XML_CONFIGURE_WITH= xml
SNMP_CONFIGURE_WITH= snmp