tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libproxy and pthread



Hi,

Soliciting views as to the correctness of this patch
before I commit.

Thanks,

-seanb
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/libproxy/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    15 Dec 2009 11:00:11 -0000      1.6
+++ Makefile    4 Aug 2010 13:57:49 -0000
@@ -27,4 +27,5 @@
 
 #.include "../../lang/python/extension.mk"
 .include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/libproxy/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo    15 Dec 2009 11:00:11 -0000      1.5
+++ distinfo    4 Aug 2010 13:57:49 -0000
@@ -3,3 +3,5 @@
 SHA1 (libproxy-0.3.0.tar.gz) = 9d0d29b352a2cc4d9511d362bc02162eca91df59
 RMD160 (libproxy-0.3.0.tar.gz) = 270d216a1e9c1d174ffc1572d2bdaa30bb51d034
 Size (libproxy-0.3.0.tar.gz) = 367083 bytes
+SHA1 (patch-aa) = f8de90a0bcefd275dd88ed453f7982d25f1b2e66
+SHA1 (patch-ab) = 33510c23a8db2ac52d86372875b822d2540044a0
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-aa    4 Aug 2010 13:57:49 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/lib/Makefile.am.orig   2009-08-14 19:00:32.000000000 +0000
++++ src/lib/Makefile.am
+@@ -11,7 +11,7 @@ libproxy_la_SOURCES = \
+                                               url.c url.h
+ 
+ libproxy_la_CFLAGS  = -DMODULEDIR=\"@MODULEDIR@@DIR_SEPARATOR@\" 
-DSYSCONFDIR=\"@SYSCONFDIR@@DIR_SEPARATOR@\" -std=c99 -D_POSIX_C_SOURCE=200112L
+-libproxy_la_LDFLAGS = -lpthread -lm -no-undefined
++libproxy_la_LDFLAGS = ${PTHREAD_LIBS} -lm -no-undefined
+ 
+ include_HEADERS     = proxy.h
+ 
Index: patches/patch-ab
===================================================================
RCS file: patches/patch-ab
diff -N patches/patch-ab
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-ab    4 Aug 2010 13:57:49 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/lib/Makefile.in.orig   2009-08-14 19:05:15.000000000 +0000
++++ src/lib/Makefile.in
+@@ -278,7 +278,7 @@ libproxy_la_SOURCES = \
+                                               url.c url.h
+ 
+ libproxy_la_CFLAGS = -DMODULEDIR=\"@MODULEDIR@@DIR_SEPARATOR@\" 
-DSYSCONFDIR=\"@SYSCONFDIR@@DIR_SEPARATOR@\" -std=c99 -D_POSIX_C_SOURCE=200112L
+-libproxy_la_LDFLAGS = -lpthread -lm -no-undefined
++libproxy_la_LDFLAGS = ${PTHREAD_LIBS} -lm -no-undefined
+ include_HEADERS = proxy.h
+ all: all-am
+ 


Home | Main Index | Thread Index | Old Index