FreeBSD Bugzilla – Attachment 93743 Details for
Bug 131713
multimedia/gpac-libgpac: gpac-libgpac-0.4.5,1 not compile, missing path to GL.h header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gpac-libgpac.diff
gpac-libgpac.diff (text/plain; charset="iso-8859-1"), 2.15 KB, created by
Jung-uk Kim
on 2009-02-18 17:59:00 UTC
(
hide
)
Description:
gpac-libgpac.diff
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2009-02-18 17:59:00 UTC
Size:
2.15 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/multimedia/gpac-libgpac/Makefile,v >retrieving revision 1.15 >diff -u -r1.15 Makefile >--- Makefile 14 Feb 2009 01:55:45 -0000 1.15 >+++ Makefile 17 Feb 2009 19:54:02 -0000 >@@ -18,6 +18,7 @@ > > WRKSRC= ${WRKDIR}/gpac > ALL_TARGET= lib >+USE_GL= gl glu glut > USE_GMAKE= yes > HAS_CONFIGURE= yes > USE_LDCONFIG= yes >@@ -26,7 +27,7 @@ > INSTALL_WRKSRC= ${WRKSRC}/bin/gcc > LIBVER= 1 > >-CONFIGURE_ARGS= --cc="${CC}" \ >+CONFIGURE_ARGS= --cc="${CC}" --X11-path="${X11BASE}" \ > --extra-cflags="${CFLAGS} ${PTHREAD_CFLAGS} -fPIC" \ > --extra-ldflags="${LDFLAGS} ${PTHREAD_LIBS}" > >Index: files/patch-configure >=================================================================== >RCS file: files/patch-configure >diff -N files/patch-configure >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-configure 17 Feb 2009 19:54:02 -0000 >@@ -0,0 +1,44 @@ >+--- configure.orig 2008-12-02 13:04:42.000000000 -0500 >++++ configure 2009-02-17 13:34:33.000000000 -0500 >+@@ -33,6 +33,7 @@ >+ make="make" >+ strip="strip" >+ cpu=`uname -m` >++targetos=`uname -s` >+ debuginfo="no" >+ sdl_path="" >+ sdl_local="no" >+@@ -222,10 +223,12 @@ >+ if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then >+ if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then >+ cpu="x86_64" >+- libdir="lib64" >+- #that's a bit crude... >+- PIC_CFLAGS="-fPIC -DPIC" >+- want_pic="yes" >++ if [ x"$targetos" != x"FreeBSD" ]; then >++ libdir="lib64" >++ #that's a bit crude... >++ PIC_CFLAGS="-fPIC -DPIC" >++ want_pic="yes" >++ fi >+ fi >+ fi >+ ;; >+@@ -280,7 +283,6 @@ >+ source_path="`cd \"$source_path\"; pwd`" >+ fi >+ # OS specific >+-targetos=`uname -s` >+ case $targetos in >+ BeOS) >+ js_flags=-DXP_BEOS >+@@ -1673,7 +1675,7 @@ >+ echo "USE_X11_XV=$has_x11_xv" >> config.mak >+ fi >+ >+-if test "$is_64" = "yes"; then >++if test "$is_64" = "yes" -a "$freebsd" = "no" ; then >+ echo "X11_LIB_PATH=$X11_PATH/lib64" >> config.mak >+ else >+ echo "X11_LIB_PATH=$X11_PATH/lib" >> config.mak
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131713
:
93742
| 93743