[24070] trunk/dports/x11/fox

source_changes at macosforge.org source_changes at macosforge.org
Sun Apr 15 20:46:32 PDT 2007


Revision: 24070
          http://trac.macosforge.org/projects/macports/changeset/24070
Author:   markd at macports.org
Date:     2007-04-15 20:46:31 -0700 (Sun, 15 Apr 2007)

Log Message:
-----------
Closes #11749.  Add a configure patch approved by hte maintainer to add some X11 includes.

Modified Paths:
--------------
    trunk/dports/x11/fox/Portfile

Added Paths:
-----------
    trunk/dports/x11/fox/files/
    trunk/dports/x11/fox/files/patch-configure

Modified: trunk/dports/x11/fox/Portfile
===================================================================
--- trunk/dports/x11/fox/Portfile	2007-04-16 03:14:31 UTC (rev 24069)
+++ trunk/dports/x11/fox/Portfile	2007-04-16 03:46:31 UTC (rev 24070)
@@ -19,6 +19,8 @@
                     port:libpng \
                     port:jpeg \
                     lib:libX11.6:XFree86
+patchfiles          patch-configure
+use_autoconf        yes
 configure.env       CPPFLAGS="-I${prefix}/include -I/usr/X11R6/include" LDFLAGS="-L${prefix}/lib"
 configure.pre_args  --prefix=${prefix} --mandir=${prefix}/share/man
 configure.args      --enable-cups 

Added: trunk/dports/x11/fox/files/patch-configure
===================================================================
--- trunk/dports/x11/fox/files/patch-configure	                        (rev 0)
+++ trunk/dports/x11/fox/files/patch-configure	2007-04-16 03:46:31 UTC (rev 24070)
@@ -0,0 +1,39 @@
+# http://sourceforge.net/tracker/index.php?func=detail&aid=1663364&group_id=3372&atid=303372
+--- configure.in.orig	2006-11-17 17:03:07.000000000 +0100
++++ configure.in	2007-01-21 14:33:51.000000000 +0100
+@@ -194,7 +252,7 @@
+ AC_ARG_ENABLE(shape,[  --with-shape            enable XShape support])
+ AC_MSG_RESULT([$with_shape])
+ if test "x$with_shape" != "xno"; then
+-AC_CHECK_HEADER(X11/extensions/shape.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XSHAPE_H=1")
++AC_CHECK_HEADERS(X11/extensions/shape.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XSHAPE_H=1",, [#include <X11/Xlib.h>])
+ fi
+ 
+ 
+@@ -203,7 +261,7 @@
+ AC_MSG_RESULT([$with_xshm])
+ if test "x$with_xshm" != "xno"; then
+ XSHM="-DHAVE_XSHM_H=1"
+-AC_CHECK_HEADER(X11/extensions/XShm.h,,XSHM="")
++AC_CHECK_HEADERS(X11/extensions/XShm.h,,XSHM="", [#include <X11/Xlib.h>])
+ AC_CHECK_HEADER(sys/ipc.h,,XSHM="")
+ AC_CHECK_HEADER(sys/shm.h,,XSHM="")
+ CXXFLAGS="${CXXFLAGS} ${XSHM}"
+@@ -288,7 +346,7 @@
+ AC_ARG_WITH(xcursor,[  --with-xcursor          compile with Xcursor support])
+ AC_MSG_RESULT([$with_xcursor])
+ if test "x$with_xcursor" != "xno"; then
+-AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XCURSOR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXcursor")
++AC_CHECK_HEADERS(X11/Xcursor/Xcursor.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XCURSOR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXcursor",, [#include <X11/Xlib.h>])
+ fi
+ 
+ 
+@@ -296,7 +354,7 @@
+ AC_ARG_WITH(xrandr,[  --with-xrandr           compile with XRandR support])
+ AC_MSG_RESULT([$with_xrandr])
+ if test "x$with_xrandr" != "xno"; then
+-AC_CHECK_HEADER(X11/extensions/Xrandr.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XRANDR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXrandr")
++AC_CHECK_HEADERS(X11/extensions/Xrandr.h,CXXFLAGS="${CXXFLAGS} -DHAVE_XRANDR_H=1"; X_BASE_LIBS="${X_BASE_LIBS} -lXrandr",, [#include <X11/Xlib.h>])
+ fi
+ 
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070415/6e8bfaa1/attachment.html


More information about the macports-changes mailing list