From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 11 22:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 944A3CE2 for ; Tue, 11 Feb 2014 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B4FC19CC for ; Tue, 11 Feb 2014 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1BMU0Ya084179 for ; Tue, 11 Feb 2014 22:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1BMU0CT084178; Tue, 11 Feb 2014 22:30:00 GMT (envelope-from gnats) Resent-Date: Tue, 11 Feb 2014 22:30:00 GMT Resent-Message-Id: <201402112230.s1BMU0CT084178@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tijl Coosemans Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18823C5C for ; Tue, 11 Feb 2014 22:25:15 +0000 (UTC) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id A2D2F19A9 for ; Tue, 11 Feb 2014 22:25:14 +0000 (UTC) Received: from 37.145-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.145.37]) by relay.skynet.be with ESMTP; 11 Feb 2014 23:25:13 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id s1BMPBxM071666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 11 Feb 2014 23:25:12 +0100 (CET) (envelope-from tijl@kalimero.tijl.coosemans.org) Received: (from tijl@localhost) by kalimero.tijl.coosemans.org (8.14.7/8.14.7/Submit) id s1BMPBPe071665; Tue, 11 Feb 2014 23:25:11 +0100 (CET) (envelope-from tijl) Message-Id: <201402112225.s1BMPBPe071665@kalimero.tijl.coosemans.org> Date: Tue, 11 Feb 2014 23:25:11 +0100 (CET) From: Tijl Coosemans To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186665: [patch] devel/sdl12: fix libiconv detection X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 22:30:00 -0000 >Number: 186665 >Category: ports >Synopsis: [patch] devel/sdl12: fix libiconv detection >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: Tue Feb 11 22:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tijl Coosemans >Release: FreeBSD 11.0-CURRENT i386 >Organization: >Environment: >Description: - Patch the SDL configure script so it no longer adds -liconv to LDFLAGS when converters/libiconv is installed on FreeBSD 10. - Add USES=iconv to graphics/sdl_ttf. The file showfont.c includes iconv.h. >How-To-Repeat: >Fix: --- sdl12.patch begins here --- Index: devel/sdl12/Makefile =================================================================== --- devel/sdl12/Makefile (revision 343722) +++ devel/sdl12/Makefile (working copy) @@ -70,6 +70,10 @@ PKGMESSAGE= none DISPLAY_MSG= ${DO_NADA} .endif +post-patch: + @${REINPLACE_CMD} -e '/EXTRA_LDFLAGS/s/-liconv/${ICONV_LIB}/' \ + ${WRKSRC}/configure + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} &&\ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ &&\ Index: graphics/sdl_ttf/Makefile =================================================================== --- graphics/sdl_ttf/Makefile (revision 343722) +++ graphics/sdl_ttf/Makefile (working copy) @@ -16,7 +16,7 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/ USE_AUTOTOOLS= libtool USE_SDL= sdl -USES= gmake pathfix pkgconfig +USES= gmake iconv pathfix pkgconfig USE_XORG= x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include --- sdl12.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: