From owner-freebsd-ports Mon Jan 28 11: 5:51 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A251937B416 for ; Mon, 28 Jan 2002 11:00:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0SJ06Z00933; Mon, 28 Jan 2002 11:00:06 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 428CC37B41B for ; Mon, 28 Jan 2002 10:57:41 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0SIvf500395; Mon, 28 Jan 2002 10:57:41 -0800 (PST) (envelope-from nobody) Message-Id: <200201281857.g0SIvf500395@freefall.freebsd.org> Date: Mon, 28 Jan 2002 10:57:41 -0800 (PST) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/34383: Update port: graphics/xine 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 >Number: 34383 >Category: ports >Synopsis: Update port: graphics/xine >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: Mon Jan 28 11:00:05 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Support PTHREAD_CFLAGS/PTHREAD_LIBS properly >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/xine/Makefile graphics/xine/Makefile --- /usr/ports/graphics/xine/Makefile Thu Jan 24 20:04:31 2002 +++ graphics/xine/Makefile Mon Jan 28 20:29:07 2002 @@ -7,6 +7,7 @@ PORTNAME= xine PORTVERSION= 0.9.8 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://xine.sourceforge.net/files/ \ ${MASTER_SITE_SOURCEFORGE} @@ -20,15 +21,15 @@ png.5:${PORTSDIR}/graphics/png \ intl.1:${PORTSDIR}/devel/gettext -GNU_CONFIGURE= yes -USE_GMAKE= yes USE_X_PREFIX= yes USE_IMLIB= yes -USE_LIBTOOL= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + THREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + THREAD_LIBS="${PTHREAD_LIBS}" CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 -CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \ - CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" MANLANG= "" es fr pl MAN1= aaxine.1 xine.1 @@ -44,8 +45,12 @@ .endif .endif -post-configure: - @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} +post-patch: + @${PERL} -pi -e \ + 's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \ + s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \ + s|-L/usr/local/lib||g ; \ + s|-I/usr/local/include||g' ${WRKSRC}/configure post-install: @${CP} ${PREFIX}/man/man1/aaxine.1 ${PREFIX}/man/fr/man1/aaxine.1 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message