aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/zebra-server/Makefile1
-rw-r--r--net/zebra-server/files/patch-configure12
-rw-r--r--net/zebra-server/files/patch-dfa-Makefile.in11
-rw-r--r--net/zebra-server/files/patch-util-Makefile.in11
4 files changed, 33 insertions, 2 deletions
diff --git a/net/zebra-server/Makefile b/net/zebra-server/Makefile
index de2b158a1c9f..76b623b3bfc3 100644
--- a/net/zebra-server/Makefile
+++ b/net/zebra-server/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= yaz.1:${PORTSDIR}/net/yaz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-yazconfig=${LOCALBASE}/bin
+CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS}
post-install:
.if !defined(NOPORTDOCS)
diff --git a/net/zebra-server/files/patch-configure b/net/zebra-server/files/patch-configure
index 8ca2c62236ee..3d453e941fec 100644
--- a/net/zebra-server/files/patch-configure
+++ b/net/zebra-server/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Sun Dec 23 14:38:47 2001
-+++ configure Sun Dec 23 14:39:02 2001
+--- configure.orig Thu Oct 25 17:24:18 2001
++++ configure Wed Dec 26 11:41:58 2001
@@ -794,7 +794,7 @@
EOF
@@ -9,3 +9,11 @@
VERSION=1.1
+@@ -2005,6 +2005,7 @@
+ s%@DEFS@%$DEFS%g
+ s%@LDFLAGS@%$LDFLAGS%g
+ s%@LIBS@%$LIBS%g
++s%@PTHREAD_LIBS@%$PTHREAD_LIBS%g
+ s%@exec_prefix@%$exec_prefix%g
+ s%@prefix@%$prefix%g
+ s%@program_transform_name@%$program_transform_name%g
diff --git a/net/zebra-server/files/patch-dfa-Makefile.in b/net/zebra-server/files/patch-dfa-Makefile.in
new file mode 100644
index 000000000000..14a159381b94
--- /dev/null
+++ b/net/zebra-server/files/patch-dfa-Makefile.in
@@ -0,0 +1,11 @@
+--- dfa/Makefile.in.orig Wed Dec 26 11:44:33 2001
++++ dfa/Makefile.in Wed Dec 26 11:45:00 2001
+@@ -78,7 +78,7 @@
+ noinst_PROGRAMS = agrep lexer grepper
+
+ INCLUDES = -I$(srcdir)/../include @YAZINC@
+-LDADD = libdfa.a ../util/libutil.a @YAZLIB@ @LIBS@
++LDADD = libdfa.a ../util/libutil.a @YAZLIB@ @LIBS@ @PTHREAD_LIBS@
+
+ agrep_SOURCES = agrep.c
+
diff --git a/net/zebra-server/files/patch-util-Makefile.in b/net/zebra-server/files/patch-util-Makefile.in
new file mode 100644
index 000000000000..0d0e099c54f6
--- /dev/null
+++ b/net/zebra-server/files/patch-util-Makefile.in
@@ -0,0 +1,11 @@
+--- util/Makefile.in.orig Wed Dec 26 11:42:17 2001
++++ util/Makefile.in Wed Dec 26 11:42:51 2001
+@@ -108,7 +108,7 @@
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)
+-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
++LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) @PTHREAD_LIBS@ -o $@
+ DIST_COMMON = Makefile.am Makefile.in
+
+