From d74218718679c7d7a89afc9964a3627879d70ebd Mon Sep 17 00:00:00 2001 From: sibel Date: Thu, 30 Dec 2010 13:48:02 +0100 Subject: wxgtk#2.8.10-1, correction port --- extra/wxgtk/Pkgfile | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'extra/wxgtk/Pkgfile') diff --git a/extra/wxgtk/Pkgfile b/extra/wxgtk/Pkgfile index fabe0af78..cacfdd019 100755 --- a/extra/wxgtk/Pkgfile +++ b/extra/wxgtk/Pkgfile @@ -2,30 +2,31 @@ # URL: http://wxwidgets.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: gtk mesa3d +# Depends on: gtk, mesa3d name=wxgtk version=2.8.10 release=1 -source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.gz\ +source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.bz2 \ overflow.patch glib-2.21.patch) build() { - # build package export LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" cd wxGTK-$version + patch -p4 < ../overflow.patch patch -Np1 -i ../glib-2.21.patch + ./configure --prefix=/usr\ - --with-gtk=2 \ - --libdir=/usr/lib \ - --with-opengl \ - --enable-unicode \ - --without-gnomeprint \ - --disable-optimize \ - --mandir=/usr/share/man\ - --infodir=/usr/share/info + --with-gtk=2 \ + --libdir=/usr/lib \ + --with-opengl \ + --enable-unicode \ + --without-gnomeprint \ + --disable-optimize \ + --mandir=/usr/share/man\ + --infodir=/usr/share/info make make DESTDIR=$PKG install cd contrib -- cgit v1.2.3-70-g09d2