summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 194ef2f..52552a8 100644
--- a/Makefile
+++ b/Makefile
@@ -44,4 +44,7 @@ XML_CONFIGURE_WITH= xml
SNMP_CONFIGURE_WITH= snmp
SNMP_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
+post-patch:
+ @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" ${WRKSRC}/src/daemon/lldpd.8
+
.include <bsd.port.mk>