diff options
author | vd <vd@FreeBSD.org> | 2006-06-05 23:29:49 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2006-06-05 23:29:49 +0800 |
commit | 7679a5785d7efb7130ca0c697a1401966048ad63 (patch) | |
tree | 9a28aaca545425432ba91d89114d1540da0ef902 /graphics/xaralx | |
parent | 8702b7880a42ba1fcd362e26f98bd305ba0d8874 (diff) | |
download | freebsd-ports-gnome-7679a5785d7efb7130ca0c697a1401966048ad63.tar.gz freebsd-ports-gnome-7679a5785d7efb7130ca0c697a1401966048ad63.tar.zst freebsd-ports-gnome-7679a5785d7efb7130ca0c697a1401966048ad63.zip |
* Upgrade graphics/xaralx-devel from 0.5r1184 to 0.5r1250
* Add libtool dependency because configure.in mentions AC_PROG_LIBTOOL
which seems to be defined by libtool.m4 installed by libtool. This allows
us to drop the hack of removing it from configure.in
* Invoking "pkg-config --cflags atk fontconfig gdk-2.0 pango" is not
necessary anymore. Drop it.
* Invoke autoreconf with a hacked value of ACLOCAL environment variable
to make aclocal find gettext.m4 which is installed in /usr/local/aclocal/
but aclocal is searching /usr/local/aclocal19/. ade@ promised to fix this
soon
* Remove unnecessary changes to configure.in, they are not needed now
Diffstat (limited to 'graphics/xaralx')
-rw-r--r-- | graphics/xaralx/Makefile | 11 | ||||
-rw-r--r-- | graphics/xaralx/files/patch-configure.in | 62 |
2 files changed, 18 insertions, 55 deletions
diff --git a/graphics/xaralx/Makefile b/graphics/xaralx/Makefile index 862455bcecfd..f0a37b148d1e 100644 --- a/graphics/xaralx/Makefile +++ b/graphics/xaralx/Makefile @@ -29,14 +29,12 @@ RUN_DEPENDS+= ${WXDEP}:${PORTSDIR}/x11-toolkits/wxgtk26-unicode LIB_DEPENDS+= dlmalloc.2:${PORTSDIR}/devel/libdlmalloc \ xml2.5:${PORTSDIR}/textproc/libxml2 -USE_AUTOTOOLS= autoconf:259:env aclocal:19:env automake:19:env +USE_AUTOTOOLS= autoconf:259:env aclocal:19:env automake:19:env libtool:15:env GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --with-wx-config=wxgtk2u-2.6-config \ --program-suffix=${PKGNAMESUFFIX} -PKGCONFIGS=atk fontconfig gdk-2.0 pango -CONFIGURE_ENV+= CPPFLAGS_APPEND="`pkg-config --cflags ${PKGCONFIGS}` \ - -I${LOCALBASE}/include/atk-1.0/atk \ +CONFIGURE_ENV+= CPPFLAGS_APPEND="-I${LOCALBASE}/include/atk-1.0/atk \ -I${X11BASE}/include/gtk-2.0/gtk" # we're using dlmalloc because the stock libc does not have malloc_usable_size() CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -ldlmalloc" @@ -88,7 +86,10 @@ post-patch: ${WRKSRC}/xaralx.desktop pre-configure: - cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -f -s -i + cd ${WRKSRC} && \ + ${SETENV} ${AUTOTOOLS_ENV} \ + ACLOCAL="${ACLOCAL} -I ${LOCALBASE}/share/aclocal" \ + ${AUTORECONF} -f -i -s .if !target(do-install) do-install: diff --git a/graphics/xaralx/files/patch-configure.in b/graphics/xaralx/files/patch-configure.in index 8d33883a5b64..932bd36803e7 100644 --- a/graphics/xaralx/files/patch-configure.in +++ b/graphics/xaralx/files/patch-configure.in @@ -1,45 +1,15 @@ ---- configure.in.orig Wed May 10 14:01:21 2006 -+++ configure.in Wed May 10 14:04:32 2006 -@@ -47,7 +47,7 @@ - AC_PROG_INSTALL - # We don't need dlopen right now and it's not supported on Darwin - # AC_LIBTOOL_DLOPEN --AC_PROG_LIBTOOL -+AC_PROG_RANLIB - - AC_C_BIGENDIAN - AC_CHECK_SIZEOF(void*) -@@ -141,7 +141,6 @@ - if echo $WX_CPPFLAGS | grep -q '__WXGTK__' ; then - WX_GTK="yes" - AC_MSG_RESULT([found]) -- PKG_CHECK_MODULES(GTK, [gtk+-2.0]) - else - AC_MSG_RESULT([not found]) - fi -@@ -215,20 +214,7 @@ - # GTK build, so call FTTEST function to test for FreeType - FTTEST - FT_CFLAGS="`$FTCONFIG --cflags`" -- -- # check for the Pango package -- PkgError="no" -- PKG_CHECK_MODULES(PANGOX, pangox, -- [ -- PANGO_CFLAGS="$PANGOX_CFLAGS" -- ], -- [ -- PkgError="yes" -- ] -- ) -- if test PkgError = "yes"; then -- AC_MSG_ERROR([pangox library not found]) -- fi -+ PANGO_CFLAGS="" - else - # non-GTK build, i.e., MacOS, so Pango and FreeType are not required - FT_CFLAGS="" -@@ -246,8 +232,8 @@ +--- configure.in.orig Mon Jun 5 15:06:26 2006 ++++ configure.in Mon Jun 5 15:07:19 2006 +@@ -139,7 +139,7 @@ + WX_CPPFLAGS="`$WXCONFIG --static=$StaticEnable --debug=$DebugEnable --unicode=yes --cppflags`" + WX_CXXFLAGS="`$WXCONFIG --static=$StaticEnable --debug=$DebugEnable --unicode=yes --cxxflags | sed -e 's/-fno-exceptions//'`" + WX_LIBS="`$WXCONFIG --static=$StaticEnable --debug=$DebugEnable --unicode=yes --libs`" +- WXRC="`$WXCONFIG --utility=wxrc`" ++ WXRC="`$WXCONFIG --utility=wxrc-gtk2u`" + + # See if we are running on GTK + WX_GTK="no" +@@ -252,8 +252,8 @@ fi # pass the Pango, FreeType and GTK flags (required for wxGTK font rendering) @@ -50,11 +20,3 @@ AC_MSG_CHECKING([Linker]) case $host in -@@ -286,6 +272,7 @@ - AM_CONDITIONAL(DARWIN_LINK, [test "$DarwinLink" = "yes"]) - - AC_SUBST(TOPDIR) -+AC_SUBST(WX_CPPFLAGS) - AC_SUBST(WX_LIBS) - AC_SUBST(XRCINCLUDE) - AC_SUBST(XARALANGUAGE) |