diff options
author | tijl <tijl@FreeBSD.org> | 2014-09-22 22:43:34 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-09-22 22:43:34 +0800 |
commit | 02a43ba291ca20fa51c850ce73203cb8c0c5f4c5 (patch) | |
tree | 0c1c8e71ff5c8048aa16ad7cf82a9ad363f8fa4b /net | |
parent | 779091aaccc09ac23ec6ada1e75561f91986a45f (diff) | |
download | freebsd-ports-gnome-02a43ba291ca20fa51c850ce73203cb8c0c5f4c5.tar.gz freebsd-ports-gnome-02a43ba291ca20fa51c850ce73203cb8c0c5f4c5.tar.zst freebsd-ports-gnome-02a43ba291ca20fa51c850ce73203cb8c0c5f4c5.zip |
- Add patch after the recent SOCK_RAW bug fix in FreeBSD head (r270929)
- Fix DLMALLOC option
- Remove unused SCRIPTS_ENV
PR: 193244 193825
Submitted by: Olivier Cochard-Labbé <olivier@cochard.me>
Diffstat (limited to 'net')
-rw-r--r-- | net/quagga/Makefile | 8 | ||||
-rw-r--r-- | net/quagga/files/patch-lib-zebra.h | 12 |
2 files changed, 14 insertions, 6 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile index 20798a6203d2..94035c13146f 100644 --- a/net/quagga/Makefile +++ b/net/quagga/Makefile @@ -3,7 +3,7 @@ PORTNAME= quagga PORTVERSION= 0.99.22.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net ipv6 MASTER_SITES= SAVANNAH MASTER_SITE_SUBDIR= quagga @@ -61,10 +61,6 @@ CONFIGURE_ARGS+=--enable-vty-group=${ENABLE_VTY_GROUP} CONFIGURE_ARGS+=--enable-vtysh -SCRIPTS_ENV= PREFIX=${PREFIX} PKG_PREFIX=${PREFIX} \ - SYSCONF_DIR=${SYSCONF_DIR} SYSSTATE_DIR=${SYSSTATE_DIR} \ - ENABLE_USER=${ENABLE_USER} ENABLE_GROUP=${ENABLE_GROUP} - .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MISISD} @@ -103,7 +99,7 @@ CONFIGURE_ARGS+=--enable-tcp-zebra .if ${PORT_OPTIONS:MDLMALLOC} LIB_DEPENDS+= libdlmalloc.so:${PORTSDIR}/devel/libdlmalloc -LDFLAGS+= -ldlmalloc +LIBS+= -L${LOCALBASE}/lib -ldlmalloc SUB_LIST= RCLDCONFIG=ldconfig .else SUB_LIST= RCLDCONFIG= diff --git a/net/quagga/files/patch-lib-zebra.h b/net/quagga/files/patch-lib-zebra.h new file mode 100644 index 000000000000..9b28f862947f --- /dev/null +++ b/net/quagga/files/patch-lib-zebra.h @@ -0,0 +1,12 @@ +--- lib/zebra.h.orig 2014-03-16 09:54:05.510349508 +0100 ++++ lib/zebra.h 2014-03-16 10:57:36.640087484 +0100 +@@ -355,7 +355,8 @@ + * OpenBSD: network byte order, apart from older versions which are as per + * *BSD + */ +-#if defined(__NetBSD__) || defined(__FreeBSD__) \ ++#if defined(__NetBSD__) \ ++ || (defined(__FreeBSD__) && (__FreeBSD_version < 1100030)) \ + || (defined(__OpenBSD__) && (OpenBSD < 200311)) \ + || (defined(SUNOS_5) && defined(WORDS_BIGENDIAN)) + #define HAVE_IP_HDRINCL_BSD_ORDER |