pkgsrc/net/libnids/buildlink3.mk
obache ece3fb3523 Update libnids to 1.24.
Based on PR pkg/48217 by Leonardo Taccari.

Changes:
v1.24 Mar 14 2010
- fixed another remotely triggerable NULL dereference in ip_fragment.c
- unofficial patch that enables tracking of already established TCP connections
- missing reset of some tcp_* variables upon nids_exit
- correct calculation of radiotap header
- compilation warning fixes with newer gcc
- use pcap_get_selectable_fd() instead of pcap_fileno()
2013-10-06 08:25:37 +00:00

24 lines
644 B
Makefile

# $NetBSD: buildlink3.mk,v 1.13 2013/10/06 08:25:37 obache Exp $
BUILDLINK_TREE+= libnids
.if !defined(LIBNIDS_BUILDLINK3_MK)
LIBNIDS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libnids+= libnids>=1.24
BUILDLINK_PKGSRCDIR.libnids?= ../../net/libnids
BUILDLINK_DEPMETHOD.libnids?= build
pkgbase := libnids
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libnids:Mglib)
.include "../../devel/glib2/buildlink3.mk"
# This is needed because libnids is a static library
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib \
-lglib-2.0 -lgthread-2.0
.endif
.endif # LIBNIDS_BUILDLINK3_MK
BUILDLINK_TREE+= -libnids