Add -pthread where needed.
Spotted by: steve
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
11
net/zebra-server/files/patch-dfa-Makefile.in
Normal file
11
net/zebra-server/files/patch-dfa-Makefile.in
Normal file
@@ -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
|
||||
|
||||
11
net/zebra-server/files/patch-util-Makefile.in
Normal file
11
net/zebra-server/files/patch-util-Makefile.in
Normal file
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user