ports/50382: Update port: x11-toolkits/sdl_gui (link with stdc++)

Kimura Fuyuki fuyuki at hadaly.org
Fri Mar 28 06:30:19 UTC 2003


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list