Date: Fri, 7 Feb 2003 09:44:47 +1100 (EST) From: Edwin Groothuis <edwin@mavetju.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/48019: [patch] make graphics/libxine more LOCALBASE aware Message-ID: <20030206224447.EE2906A712B@k7.mavetju>
next in thread | raw e-mail | index | archive | help
>Number: 48019 >Category: ports >Synopsis: [patch] make graphics/libxine more LOCALBASE aware >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 Feb 06 14:50:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.5-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Sat Sep 14 10:41:50 EST 2002 edwin@k7.mavetju:/usr/src/sys/compile/k7 i386 >Description: graphics/libxine isn't really LOCALBASE aware. It failed to recognize libintl.h and others >How-To-Repeat: LOCALBASE=/tmp make in ports/graphics/libxine >Fix: --- Makefile 1 Feb 2003 16:44:36 -0000 1.26 +++ Makefile 6 Feb 2003 12:44:24 -0000 @@ -40,11 +40,14 @@ THREAD_LIBS="${PTHREAD_LIBS}" \ X_EXTRA_LIBS="-lGL -lGLU -lXext -lX11 -lm" CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 \ - --program-transform-name="" --disable-vidix + --program-transform-name="" --disable-vidix \ + --prefix=${PREFIX} INSTALLS_SHLIB= yes MAN1= xine-config.1 +MAKE_ENV= INTLDIR=-I${LOCALBASE}/include + .include <bsd.port.pre.mk> .if ${XFREE86_VERSION} >= 4 @@ -88,8 +91,8 @@ @${REINPLACE_CMD} -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 ; \ + s|-L/usr/local/lib|-L${LOCALBASE}|g ; \ + s|-I/usr/local/include|-I${LOCALBASE}|g ; \ s|-lgiconv|-liconv|g ; \ s|-funroll-loops||g' ${WRKSRC}/configure .if ${OSVERSION} >= 500035 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030206224447.EE2906A712B>