Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2003 10:24:49 +0400 (MSD)
From:      Sergey Akifyev <asa@gascom.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        rui@ruilopes.com
Subject:   ports/53918: [patch] devel/devhelp doesn't build on -STABLE
Message-ID:  <200306300624.h5U6OnhX000571@asa.gascom.net.ru>
Resent-Message-ID: <200306300630.h5U6UHtc077805@freefall.freebsd.org>

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

>Number:         53918
>Category:       ports
>Synopsis:       [patch] devel/devhelp doesn't build on -STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 29 23:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Akifyev
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
JSC Gascom
>Environment:
System: FreeBSD asa.gascom.net.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #5: Fri May 16 11:18:03 MSD 2003 asa@boulder.gascom.ru:/usr/src/sys/compile/ASA i386


>Description:
Devhelp is not linked against libc_r which causes
build error (at least on stable)
>How-To-Repeat:
build the port
>Fix:
diff -ruN devhelp.orig/Makefile devhelp/Makefile
--- devhelp.orig/Makefile	Mon Jun 30 10:01:40 2003
+++ devhelp/Makefile	Mon Jun 30 10:15:41 2003
@@ -9,7 +9,7 @@
 PORTVERSION=	0.7
 CATEGORIES?=	devel gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR=	sources/${PORTNAME}/0.7
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION}
 DIST_SUBDIR=	gnome2
 
 MAINTAINER=	rui@ruilopes.com
@@ -22,6 +22,6 @@
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib -pthread -lc_r"
 
 .include <bsd.port.mk>

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



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