From owner-freebsd-ports Thu Jan 16 2:55:58 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE45E37B401; Thu, 16 Jan 2003 02:55:55 -0800 (PST) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A9143F65; Thu, 16 Jan 2003 02:55:54 -0800 (PST) (envelope-from corecode@corecode.ath.cx) Received: from fwd00.sul.t-online.de by mailout03.sul.t-online.com with smtp id 18Z7ge-0002PP-0C; Thu, 16 Jan 2003 11:55:52 +0100 Received: from pride.uni.stoert.net (320050403952-0001@[80.128.112.126]) by fmrl00.sul.t-online.com with esmtp id 18Z7gX-0ejzGKC; Thu, 16 Jan 2003 11:55:45 +0100 Received: from terrorfish.uni.stoert.net (terrorfish.uni.stoert.net [10.150.180.178]) by pride.uni.stoert.net (Postfix) with ESMTP id 0C55F12FBCB; Thu, 16 Jan 2003 11:55:44 +0100 (CET) Received: from terrorfish.uni.stoert.net (localhost [127.0.0.1]) by terrorfish.uni.stoert.net (8.12.6/8.12.6) with ESMTP id h0GAuT7M075094; Thu, 16 Jan 2003 11:56:29 +0100 (CET) (envelope-from corecode@terrorfish.uni.stoert.net) Received: (from corecode@localhost) by terrorfish.uni.stoert.net (8.12.6/8.12.6/Submit) id h0GAuRqw075093; Thu, 16 Jan 2003 11:56:27 +0100 (CET) (envelope-from corecode) Date: Thu, 16 Jan 2003 11:56:22 +0100 From: "Simon 'corecode' Schubert" To: roman@xpert.com Cc: edwin@freebsd.org, ports@freebsd.org, Jens Rehsack Subject: experimental unbreak of audio/id3lib for -CURRENT Message-Id: <20030116115622.00cd3b47.corecode@corecode.ath.cx> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.U0zo,e3SLT7f7N" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.U0zo,e3SLT7f7N Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit hey, as there ist a breakage of id3lib for -CURRENT because of this ugly std::char_traits thing, i made a patch to get this adressed; please review, test and comment. it works good here, both icc and gcc compiled versions cheers simon Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/id3lib/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 7 Jan 2003 04:56:14 -0000 1.6 +++ Makefile 16 Jan 2003 10:40:34 -0000 @@ -16,14 +16,27 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv INSTALLS_SHLIB= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +USE_LIBTOOL= yes + +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS}" + +LDFLAGS= -L${LOCALBASE}/lib + +.if ${CC} == cc || ${CC} == gcc +COMPILER?= gcc +.else +COMPILER?= ${CC} +.endif .include .if ${OSVERSION} >= 500000 -BROKEN= "Doesn't link properly, std::char_traits thingie" +RUN_DEPENDS= ${LOCALBASE}/lib/libstlport_${COMPILER}.so:${PORTSDIR}/devel/stlport${COMPILER:C/^/-/:S/-gcc//} +BUILD_DEPENDS:= ${RUN_DEPENDS} + +LDFLAGS+= -lstlport_${COMPILER} +CPPFLAGS+= -I${LOCALBASE}/include/stlport .endif post-extract: -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.U0zo,e3SLT7f7N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Jo/br5S+dk6z85oRAtI4AJ4oy2gPbfBmucO12gSfBflll/VnxgCbBubW xX0FZgNu1B8hQPqvkM6rnvs= =6c8A -----END PGP SIGNATURE----- --=.U0zo,e3SLT7f7N-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message