Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2013 21:57:42 +0200 (CEST)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182286: [patch] devel/libpthread-stubs: misc fixes
Message-ID:  <201309211957.r8LJvgcm031825@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201309212000.r8LK00Vv016490@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309211957.r8LJvgcm031825>