ports/182286: [patch] devel/libpthread-stubs: misc fixes
Tijl Coosemans
tijl at FreeBSD.org
Sat Sep 21 20:00:01 UTC 2013
>Number: 182286
>Category: ports
>Synopsis: [patch] devel/libpthread-stubs: misc fixes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 21 20:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Tijl Coosemans
>Release: FreeBSD 10.0-ALPHA2 i386
>Organization:
>Environment:
>Description:
- Remove gmake dependency. Ordinary make works just fine.
- Remove pkgconfig dependency. The port only installs a .pc file.
- Replace gnomehack with pathfix. This allows removing
patch-configure-libs.
- Make patch-configure-objformat FreeBSD 10 compatible.
>How-To-Repeat:
>Fix:
--- libpthread-stubs.patch begins here ---
Index: devel/libpthread-stubs/Makefile
===================================================================
--- devel/libpthread-stubs/Makefile (revision 327824)
+++ devel/libpthread-stubs/Makefile (working copy)
@@ -10,8 +10,7 @@ MASTER_SITES= http://xcb.freedesktop.org
MAINTAINER= ashish at FreeBSD.org
COMMENT= This library provides weak aliases for pthread functions
-USES= gmake pkgconfig
-USE_GNOME= gnomehack
+USES= pathfix
USE_BZIP2= yes
USE_LDCONFIG= yes
Index: devel/libpthread-stubs/files/patch-configure-libs
===================================================================
--- devel/libpthread-stubs/files/patch-configure-libs (revision 327824)
+++ devel/libpthread-stubs/files/patch-configure-libs (working copy)
@@ -1,11 +0,0 @@
---- 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
-
Index: devel/libpthread-stubs/files/patch-configure-objformat
===================================================================
--- devel/libpthread-stubs/files/patch-configure-objformat (revision 327824)
+++ devel/libpthread-stubs/files/patch-configure-objformat (working copy)
@@ -13,7 +13,7 @@
- esac
- fi
+ case $host_os in
-+ freebsd[123]*) objformat=aout ;;
++ freebsd[123].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
version_type=freebsd-$objformat
--- libpthread-stubs.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list