Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2003 15:03:36 +0900
From:      Kimura Fuyuki <fuyuki@hadaly.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50382: Update port: x11-toolkits/sdl_gui (link with stdc++)
Message-ID:  <86y930uix3.wl%fuyuki@hadaly.org>
Resent-Message-ID: <200303280630.h2S6UH5I065265@freefall.freebsd.org>

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

>Number:         50382
>Category:       ports
>Synopsis:       Update port: x11-toolkits/sdl_gui (link with stdc++)
>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:   Thu Mar 27 22:30:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki <fuyuki@hadaly.org>
>Release:        FreeBSD 5.0-RELEASE-p5 i386
>Organization:
>Environment:

  FreeBSD hadaly.dyndns.org 5.0-RELEASE-p5 FreeBSD 5.0-RELEASE-p5 #1: Fri Mar 21 10:29:48 JST 2003     root@hadaly.dyndns.org:/.2/obj/usr/src/sys/NS  i386

>Description:
Add a hack to link with libstdc++. This will fix the configure error
of devel/eboxy on -current.

http://bento.freebsd.org/errorlogs/i386-5-full/eboxy-0.3.5.log

(or any better solution?)

>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/sdl_gui/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	20 Feb 2003 19:20:26 -0000	1.5
+++ Makefile	28 Mar 2003 05:55:42 -0000
@@ -21,8 +21,12 @@
 		SDL_ttf:${PORTSDIR}/graphics/sdl_ttf
 
 SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
+USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
 INSTALLS_SHLIB=	yes
 CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
+
+post-configure:
+	${REINPLACE_CMD} -e "s/^CC=\"cc\"/CC=\"${CXX}\"/" ${WRKSRC}/libtool
 
 .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?86y930uix3.wl%fuyuki>