Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 1999 19:05:44 +0200 (MET DST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13125: make sure x11-toolkits/gtk-- always gets built with egcs
Message-ID:  <199908131705.TAA72871@saturn.kn-bremen.de>

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

>Number:         13125
>Category:       ports
>Synopsis:       make sure x11-toolkits/gtk-- always gets built with egcs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 13 10:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
me?  organized?
>Environment:

	FreeBSD 3.2-STABLE i386

>Description:

	I forgot this on the audio/cdrdao PR (12642), gtk-- needs to
	be built with egcs too for xcdrdao to build properly.
	(and cdrdao appears to be the only port so far thats actually
	using gtk-- soo...)

>How-To-Repeat:

	Try to build audio/cdrdao with xcdrdao
	(cd /usr/ports/audio/cdrdao && make XCDRDAO=t  with current ports)

>Fix:
	
Index: Makefile
===================================================================
RCS file: /home/cvs/cvs/ports/x11-toolkits/gtk--/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile	1999/05/12 11:37:22	1.8
+++ Makefile	1999/08/13 16:13:14
@@ -58,4 +58,12 @@
 	ToolbarConnector.3 ToolbarConnectorBase.3 Toolbar_Child.3 \
 	_gtk_string.3 gtkmm_add_signal_class.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400004
+BUILD_DEPENDS+=		eg++:${PORTSDIR}/lang/egcs
+CC=			egcc
+CXX=			eg++
+.endif
+
+.include <bsd.port.post.mk>

>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?199908131705.TAA72871>