Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2009 14:55:13 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136428: Port fix: fix build of archivers/par2cmdline-tbb on 6-STABLE
Message-ID:  <200907071455.n67EtDOb017670@www.freebsd.org>
Resent-Message-ID: <200907071500.n67F0Cu3083884@freefall.freebsd.org>

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

>Number:         136428
>Category:       ports
>Synopsis:       Port fix: fix build of archivers/par2cmdline-tbb on 6-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 07 15:00:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.2-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.2-STABLE FreeBSD 7.2-STABLE #1: Thu Jun 11 08:40:15 UTC 2009     martymac@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
This patch adds a missing -pthread to fix linking on 6-STABLE.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN par2cmdline-tbb.orig/Makefile par2cmdline-tbb/Makefile
--- par2cmdline-tbb.orig/Makefile	2009-07-07 16:34:38.000000000 +0200
+++ par2cmdline-tbb/Makefile	2009-07-07 16:37:40.000000000 +0200
@@ -19,7 +19,7 @@
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
 PORTDOCS=	README
 CONFLICTS=	par2cmdline-[0-9]*


>Release-Note:
>Audit-Trail:
>Unformatted:



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