mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
@@ -10,7 +10,7 @@ Since GLib is a cross-platform library, applications using it to interface \
|
|||||||
with the operating system are usually portable across different operating \
|
with the operating system are usually portable across different operating \
|
||||||
systems without major changes
|
systems without major changes
|
||||||
"
|
"
|
||||||
HOMEPAGE="http://www.gtk.org/"
|
HOMEPAGE="http://www.gtk.org/"
|
||||||
SRC_URI="http://ftp.gnome.org/pub/gnome/sources/glib/2.38/glib-2.38.1.tar.xz"
|
SRC_URI="http://ftp.gnome.org/pub/gnome/sources/glib/2.38/glib-2.38.1.tar.xz"
|
||||||
CHECKSUM_SHA256="01906c62ac666d2ab3183cc07261b2536fab7b211c6129ab66b119c2af56d159"
|
CHECKSUM_SHA256="01906c62ac666d2ab3183cc07261b2536fab7b211c6129ab66b119c2af56d159"
|
||||||
LICENSE="GNU LGPL v2"
|
LICENSE="GNU LGPL v2"
|
||||||
@@ -24,7 +24,7 @@ COPYRIGHT="1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|||||||
2008-2010 Collabora Ltd.
|
2008-2010 Collabora Ltd.
|
||||||
1995-2010 Several others"
|
1995-2010 Several others"
|
||||||
|
|
||||||
REVISION="4"
|
REVISION="5"
|
||||||
|
|
||||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
@@ -88,7 +88,7 @@ BUILD()
|
|||||||
libtoolize --force --copy --install
|
libtoolize --force --copy --install
|
||||||
aclocal
|
aclocal
|
||||||
autoconf
|
autoconf
|
||||||
runConfigure ./configure --disable-maintainer-mode
|
runConfigure ./configure --disable-maintainer-mode CFLAGS=-D_BSD_SOURCE
|
||||||
|
|
||||||
# There seem to be a problem with libtool, and without this some libraries
|
# There seem to be a problem with libtool, and without this some libraries
|
||||||
# would not be found during the build.
|
# would not be found during the build.
|
||||||
@@ -101,14 +101,14 @@ BUILD()
|
|||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make install
|
make install
|
||||||
|
|
||||||
prepareInstalledDevelLibs libgio-2.0 \
|
prepareInstalledDevelLibs libgio-2.0 \
|
||||||
libglib-2.0 \
|
libglib-2.0 \
|
||||||
libgmodule-2.0 \
|
libgmodule-2.0 \
|
||||||
libgobject-2.0 \
|
libgobject-2.0 \
|
||||||
libgthread-2.0
|
libgthread-2.0
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
# The libtool files reference other libraries using the wrong paths, which
|
# The libtool files reference other libraries using the wrong paths, which
|
||||||
# creates a lot of confusion. Fix them so correct paths are used.
|
# creates a lot of confusion. Fix them so correct paths are used.
|
||||||
local develPackageName="${portName}_devel-$portFullVersion"
|
local develPackageName="${portName}_devel-$portFullVersion"
|
||||||
@@ -119,8 +119,8 @@ INSTALL()
|
|||||||
local zlibLinksDir="$packageLinksDir/${develPackageName}/devel~libz$secondaryArchSuffix/$relativeDevelopLibDir"
|
local zlibLinksDir="$packageLinksDir/${develPackageName}/devel~libz$secondaryArchSuffix/$relativeDevelopLibDir"
|
||||||
sed -i -e "s,^\(Libs.private.*\)-L.* \(-l.*\)$,\1-L$zlibLinksDir \2," \
|
sed -i -e "s,^\(Libs.private.*\)-L.* \(-l.*\)$,\1-L$zlibLinksDir \2," \
|
||||||
$developLibDir/pkgconfig/gio-2.0.pc
|
$developLibDir/pkgconfig/gio-2.0.pc
|
||||||
|
|
||||||
|
|
||||||
# move the glibconfig header into devel as well
|
# move the glibconfig header into devel as well
|
||||||
mv $libDir/glib-2.0 $developLibDir
|
mv $libDir/glib-2.0 $developLibDir
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user