aboutsummaryrefslogtreecommitdiff
path: root/net/quagga
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2009-11-16 16:02:18 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2009-11-16 16:02:18 +0000
commit2d46cceb53ba4f27deaaf04603e43daedd21e2f8 (patch)
tree9048e911b7724eb35624f3bc908148fa454dfbb9 /net/quagga
parent4d4d4941a6d7b7d96ceac82ea1a2db1fb569d3c6 (diff)
downloadports-2d46cceb53ba4f27deaaf04603e43daedd21e2f8.tar.gz
ports-2d46cceb53ba4f27deaaf04603e43daedd21e2f8.zip
- Add a patch from quagga GIT (ID: 9964fcfc).
* Fix HAVE_CLOCK_MONOTONIC spelling. - Remove obsoleted configuration flag --enable-pidfile-mask. Approved by: maintainer (implicitly)
Notes
Notes: svn path=/head/; revision=244334
Diffstat (limited to 'net/quagga')
-rw-r--r--net/quagga/Makefile3
-rw-r--r--net/quagga/files/patch-git-1-clock-monotonic22
2 files changed, 24 insertions, 1 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 13c03607fa8d..421113450de0 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -7,6 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.15
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/ \
http://www.ru.quagga.net/download/ \
@@ -44,7 +45,7 @@ OPTIONS= ISISD "Enable experimental ISIS daemon" off \
.include <bsd.port.pre.mk>
CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ARGS+=--includedir=${PREFIX}/include --enable-exampledir=${PREFIX}/share/examples/quagga --enable-pidfile-mask=0644
+CONFIGURE_ARGS+=--includedir=${PREFIX}/include --enable-exampledir=${PREFIX}/share/examples/quagga
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} \
LIBTOOL_VERSION=${LIBTOOL_VERSION}
diff --git a/net/quagga/files/patch-git-1-clock-monotonic b/net/quagga/files/patch-git-1-clock-monotonic
new file mode 100644
index 000000000000..eee85fc15ffd
--- /dev/null
+++ b/net/quagga/files/patch-git-1-clock-monotonic
@@ -0,0 +1,22 @@
+--- configure.orig 2009-11-16 17:36:53.000000000 +0300
++++ configure 2009-11-16 17:37:14.000000000 +0300
+@@ -30213,7 +30213,7 @@
+
+
+ cat >>confdefs.h <<\_ACEOF
+-#define HAVE_MONOTONIC_CLOCK /**/
++#define HAVE_CLOCK_MONOTONIC /**/
+ _ACEOF
+
+
+--- config.h.in.orig 2009-11-16 17:37:36.000000000 +0300
++++ config.h.in 2009-11-16 17:40:55.000000000 +0300
+@@ -198,7 +198,7 @@
+ #undef HAVE_MEMSET
+
+ /* Have monotonic clock */
+-#undef HAVE_MONOTONIC_CLOCK
++#undef HAVE_CLOCK_MONOTONIC
+
+ /* Define to 1 if you have the <netdb.h> header file. */
+ #undef HAVE_NETDB_H