Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 09:56:18 -0700 (PDT)
From:      John Merryweather Cooper <jmcoopr@webmail.bmi.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        sam@inf.enst.fr, sobomax@freebsd.org
Subject:   ports/29811: Last portion of gtkada needs ${PTHREAD_LIBS} incl. [PATCH]
Message-ID:  <200108171656.f7HGuIp01113@johncoop.MSHOME>

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

>Number:         29811
>Category:       ports
>Synopsis:       Last portion of gtkada needs ${PTHREAD_LIBS} incl. [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 17 10:00:11 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.4-RC i386
>Organization:
>Environment:
System: FreeBSD johncoop.MSHOME 4.4-RC FreeBSD 4.4-RC #4: Fri Aug 17 05:57:57 PDT 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	GtkAda dies during last part of build during gnatmake of testgtk.  It's
	dying for lack of ${PTHREAD_LIBS}.  Attached patch fixes this.

>How-To-Repeat:
	Attempt to build on -STABLE

>Fix:

diff -ruN gtkada/Makefile gtkada.new/Makefile
--- gtkada/Makefile	Wed Aug 15 10:32:44 2001
+++ gtkada.new/Makefile	Fri Aug 17 01:11:59 2001
@@ -29,6 +29,8 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
 		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+MAKE_ENV=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
 PLIST_SUB=	SHLIB_VERSION=${SHLIB_VERSION}
 
 MAN1=	dgate.1 gate.1 gtkada-config.1
diff -ruN gtkada/files/patch-testgtk::Makefile.in gtkada.new/files/patch-testgtk::Makefile.in
--- gtkada/files/patch-testgtk::Makefile.in	Wed Aug 15 02:56:11 2001
+++ gtkada.new/files/patch-testgtk::Makefile.in	Fri Aug 17 01:27:35 2001
@@ -1,16 +1,15 @@
-
-$FreeBSD: ports/x11-toolkits/gtkada/files/patch-testgtk::Makefile.in,v 1.1 2001/08/15 09:56:11 sobomax Exp $
-
---- testgtk/Makefile.in	2001/08/15 08:56:29	1.1
-+++ testgtk/Makefile.in	2001/08/15 08:57:20
-@@ -15,8 +15,8 @@
+--- testgtk/Makefile.in	Fri Apr 27 18:20:15 2001
++++ testgtk/Makefile.in.new	Fri Aug 17 01:26:49 2001
+@@ -15,9 +15,9 @@
  
  CC = @CC@
  GTKADA_CONFIG=gtkada-config
 -GNATFLAGS = @CFLAGS@ -gnata
 -GNATFLAGS_DEVEL = @CFLAGS@ -g -gnatawu
+-TARGET_LFLAGS = @TARGET_LFLAGS@
 +GNATFLAGS = -O2 -gnata
 +GNATFLAGS_DEVEL = -O2 -g -gnatawu
- TARGET_LFLAGS = @TARGET_LFLAGS@
++TARGET_LFLAGS = $(LDFLAGS)
  
  GNATMAKE = gnatmake
+ GNATMAKELDFLAGS = -largs -L$(src_dir) -L$(opengl_dir) -lgtkada @GTK_LIBS@ \
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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