aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/libpthread-stubs/files/patch-Makefile.in34
-rw-r--r--devel/libpthread-stubs/files/patch-configure-libs (renamed from devel/libpthread-stubs/files/patch-configure)8
-rw-r--r--devel/libpthread-stubs/files/patch-configure-objformat21
3 files changed, 59 insertions, 4 deletions
diff --git a/devel/libpthread-stubs/files/patch-Makefile.in b/devel/libpthread-stubs/files/patch-Makefile.in
new file mode 100644
index 000000000000..746576b1fdea
--- /dev/null
+++ b/devel/libpthread-stubs/files/patch-Makefile.in
@@ -0,0 +1,34 @@
+--- Makefile.in.orig Fri Feb 9 01:16:19 2007
++++ Makefile.in Fri Feb 9 01:17:05 2007
+@@ -62,9 +62,9 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ libpthread_stubs_la_LIBADD =
+ am__libpthread_stubs_la_SOURCES_DIST = stubs.c
+-@BUILD_LIB_TRUE@am_libpthread_stubs_la_OBJECTS = stubs.lo
++am_libpthread_stubs_la_OBJECTS = stubs.lo
+ libpthread_stubs_la_OBJECTS = $(am_libpthread_stubs_la_OBJECTS)
+-@BUILD_LIB_TRUE@am_libpthread_stubs_la_rpath = -rpath $(libdir)
++am_libpthread_stubs_la_rpath = -rpath $(libdir)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -102,8 +102,6 @@
+ AUTOHEADER = @AUTOHEADER@
+ AUTOMAKE = @AUTOMAKE@
+ AWK = @AWK@
+-BUILD_LIB_FALSE = @BUILD_LIB_FALSE@
+-BUILD_LIB_TRUE = @BUILD_LIB_TRUE@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CFLAGS = @CFLAGS@
+@@ -199,8 +197,8 @@
+ target_alias = @target_alias@
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = pthread-stubs.pc
+-@BUILD_LIB_TRUE@lib_LTLIBRARIES = libpthread-stubs.la
+-@BUILD_LIB_TRUE@libpthread_stubs_la_SOURCES = stubs.c
++lib_LTLIBRARIES = libpthread-stubs.la
++libpthread_stubs_la_SOURCES = stubs.c
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+
diff --git a/devel/libpthread-stubs/files/patch-configure b/devel/libpthread-stubs/files/patch-configure-libs
index d5e9ca9c4a03..91c919993d20 100644
--- a/devel/libpthread-stubs/files/patch-configure
+++ b/devel/libpthread-stubs/files/patch-configure-libs
@@ -1,11 +1,11 @@
---- configure.orig Wed Jan 24 17:10:44 2007
-+++ configure Wed Jan 24 17:11:08 2007
+--- configure.orig Wed Jan 24 17:10:44 2007
++++ configure Wed Jan 24 17:11:08 2007
@@ -20705,7 +20705,7 @@
_ACEOF
-
+
else
- PKG_CONFIG_LIBS='-L${libdir} -pthread-stubs'
+ PKG_CONFIG_LIBS='-L${libdir} -lpthread-stubs'
fi
done
-
+
diff --git a/devel/libpthread-stubs/files/patch-configure-objformat b/devel/libpthread-stubs/files/patch-configure-objformat
new file mode 100644
index 000000000000..00a2029e639c
--- /dev/null
+++ b/devel/libpthread-stubs/files/patch-configure-objformat
@@ -0,0 +1,21 @@
+--- configure.old Fri Feb 2 12:45:00 2007
++++ configure Fri Feb 2 12:45:41 2007
+@@ -9008,14 +9008,10 @@
+ freebsd* | dragonfly*)
+ # DragonFly does not have aout. When/if they implement a new
+ # versioning mechanism, adjust this.
+- if test -x /usr/bin/objformat; then
+- objformat=`/usr/bin/objformat`
+- else
+- case $host_os in
+- freebsd[123]*) objformat=aout ;;
+- *) objformat=elf ;;
+- esac
+- fi
++ case $host_os in
++ freebsd[123]*) objformat=aout ;;
++ *) objformat=elf ;;
++ esac
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)