aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2009-11-17 00:02:18 +0800
committersem <sem@FreeBSD.org>2009-11-17 00:02:18 +0800
commita54f4e425720f49a8ed60153916795f818458ed6 (patch)
tree0ad2cbe6c87db34d61558825d0ec083225b009ad
parent18056bd1a371a2e59c85b43455eb9a30c517c556 (diff)
downloadfreebsd-ports-gnome-a54f4e425720f49a8ed60153916795f818458ed6.tar.gz
freebsd-ports-gnome-a54f4e425720f49a8ed60153916795f818458ed6.tar.zst
freebsd-ports-gnome-a54f4e425720f49a8ed60153916795f818458ed6.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)
-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