Bug 48019 - [patch] make graphics/libxine more LOCALBASE aware
Summary: [patch] make graphics/libxine more LOCALBASE aware
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 22:50 UTC by edwin
Modified: 2003-02-09 15:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edwin 2003-02-06 22:50:07 UTC
	graphics/libxine isn't really LOCALBASE aware. It failed
	to recognize libintl.h and others

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
How-To-Repeat: 
	LOCALBASE=/tmp make in ports/graphics/libxine
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-02-06 22:55:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to mtainienr.
Comment 2 MANTANI Nobutaka freebsd_committer freebsd_triage 2003-02-09 15:31:47 UTC
State Changed
From-To: open->closed

Fixed, thanks!