Commits

ericwa committed 0f7bc8c

I had to fix some problems with the gnustep-back port (add some X library dependencies to the Portfile, and attach a patch for configure.ac which is in SVN but not yet in any releases.) I've attached my modified gnustep-back portfile and configure.ac patch. With those changes I was also able to get SystemPreferences to install and run :-).

(commit done by ivan@vucica.net, comment pasted from email)

  • Participants
  • Parent commits 406217b

Comments (0)

Files changed (2)

File gnustep-back/Portfile

-# $Id$
+# $Id: Portfile 53602 2009-07-09 16:14:40Z and.damore@macports.org $
 
 PortSystem  1.0
 PortGroup   gnustep 1.0
 
 depends_lib     port:gnustep-gui \
                 port:libart_lgpl \
-                port:Xft2
+                port:Xft2 \
+                port:xorg-libXt \
+                port:xorg-libXext
 
 checksums           md5     314c753ae922082345cf3a288440fa5a \
                     sha1    04059fc2da1c767be5a1a8c57915b9e1a7bc3a08 \
             http://gnustep.made-it.com/BuildGuide/#CONFIG.GNUSTEP"
 }
 
+patchfiles              patch-configure.ac.diff
+
 platform macosx {
     patchfiles-append   patch-ftfont.m \
                         patch-CairoFaceInfo.h

File gnustep-back/files/patch-configure.ac.diff

+--- configure.ac	2008-10-24 11:04:10.000000000 -0600
++++ /Users/ericw/dev/gnustep/core/back/configure.ac	2011-04-10 18:15:10.000000000 -0600
+@@ -138,8 +138,20 @@
+   LIBS="-lX11 $X_EXTRA_LIBS $LIBS"
+ 
+   AC_CHECK_LIB(Xext, main)
++  if test "$HAVE_LIBXext" = no; then
++    PKG_CHECK_MODULES([XEXT], [xext])
++  fi
++
+   AC_CHECK_LIB(Xt, main)
++  if test "$HAVE_LIBXt" = no; then
++    PKG_CHECK_MODULES([XT], [xt])
++  fi
++
+   AC_CHECK_LIB(Xmu, main)
++  if test "$HAVE_LIBXmu" = no; then
++    PKG_CHECK_MODULES([XMU], [xmu])
++  fi
++
+   LIBS="$X_LIBS $LIBS"
+ fi
+ AC_SUBST(X_PRE_LIBS)