Add pcre-7.8 template and make glib use the installed pcre, rather
than use the included one. While here, fix a bug in dependency handling when A package depends B and B depends on C, C was installed two times because it was in the dependency chain two times. --HG-- extra : convert_revision : 379e161560cebd650a4f7e9d0f1b99f504317bbe
This commit is contained in:
parent
bc450e9c6c
commit
49dff5c7ca
5 changed files with 25 additions and 1 deletions
BIN
dependencies/glib-2.18.1-deps.db
vendored
BIN
dependencies/glib-2.18.1-deps.db
vendored
Binary file not shown.
BIN
dependencies/pcre-7.8-deps.db
vendored
Normal file
BIN
dependencies/pcre-7.8-deps.db
vendored
Normal file
Binary file not shown.
8
pkgfs.sh
8
pkgfs.sh
|
@ -362,7 +362,7 @@ extract_tmpl_sources()
|
||||||
{
|
{
|
||||||
[ -z "$pkgname" ] && return 1
|
[ -z "$pkgname" ] && return 1
|
||||||
|
|
||||||
echo ">>> Extracting \`$pkgname' into $PKGFS_BUILDDIR."
|
echo ">>> Extracting $pkgname into $PKGFS_BUILDDIR."
|
||||||
|
|
||||||
$extract_cmd
|
$extract_cmd
|
||||||
if [ "$?" -ne 0 ]; then
|
if [ "$?" -ne 0 ]; then
|
||||||
|
@ -425,6 +425,7 @@ build_tmpl_sources()
|
||||||
# For now, just set LDFLAGS.
|
# For now, just set LDFLAGS.
|
||||||
#
|
#
|
||||||
export LDFLAGS="-L$PKGFS_MASTERDIR/lib -Wl,-R$PKGFS_MASTERDIR/lib"
|
export LDFLAGS="-L$PKGFS_MASTERDIR/lib -Wl,-R$PKGFS_MASTERDIR/lib"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Packages using GNU autoconf
|
# Packages using GNU autoconf
|
||||||
#
|
#
|
||||||
|
@ -592,9 +593,14 @@ install_dependency_tmpl()
|
||||||
add_dependency_tolist $pkgdepf
|
add_dependency_tolist $pkgdepf
|
||||||
|
|
||||||
for i in ${deps_list}; do
|
for i in ${deps_list}; do
|
||||||
|
# skip dup deps
|
||||||
|
check_installed_tmpl $i
|
||||||
|
[ "$?" -eq 0 ] && continue
|
||||||
echo ">>> Installing dependency: $i"
|
echo ">>> Installing dependency: $i"
|
||||||
install_tmpl "${PKGFS_TEMPLATESDIR}/${i%%-deps.db}.tmpl"
|
install_tmpl "${PKGFS_TEMPLATESDIR}/${i%%-deps.db}.tmpl"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
deps_list=
|
||||||
}
|
}
|
||||||
|
|
||||||
install_xstow_tmpl()
|
install_xstow_tmpl()
|
||||||
|
|
|
@ -4,6 +4,9 @@ extract_sufx=".tar.bz2"
|
||||||
patch_files="glib-2.18.1-fix-statfs-netbsd.diff"
|
patch_files="glib-2.18.1-fix-statfs-netbsd.diff"
|
||||||
url=http://ftp.gnome.org/pub/gnome/sources/glib/2.18
|
url=http://ftp.gnome.org/pub/gnome/sources/glib/2.18
|
||||||
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
|
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
|
||||||
|
# Disable FAM for now and use the installed pcre package instead
|
||||||
|
# of the supplied one.
|
||||||
|
configure_args="--disable-fam --with-pcre=system"
|
||||||
configure_env="ac_cv_path_PKG_CONFIG=$PKGFS_MASTERDIR/bin/pkg-config
|
configure_env="ac_cv_path_PKG_CONFIG=$PKGFS_MASTERDIR/bin/pkg-config
|
||||||
ac_cv_func_statfs=no"
|
ac_cv_func_statfs=no"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
|
|
15
templates/pcre-7.8.tmpl
Executable file
15
templates/pcre-7.8.tmpl
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'pcre-7.8'
|
||||||
|
pkgname=pcre-7.8
|
||||||
|
extract_sufx=".tar.bz2"
|
||||||
|
url=http://kent.dl.sourceforge.net/sourceforge/pcre
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_args="--enable-utf8 --enable-unicode-properties"
|
||||||
|
short_desc="Perl Compatible Regular Expressions"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=f8cc336f984bce9bfebaef27e6376d84845bce8f
|
||||||
|
long_desc="
|
||||||
|
The PCRE library is a set of functions that implement regular expression
|
||||||
|
pattern matching using the same syntax and semantics as Perl 5. PCRE
|
||||||
|
has its own native API, as well as a set of wrapper functions that
|
||||||
|
correspond to the POSIX regular expression API. The PCRE library is free,
|
||||||
|
even for building commercial software."
|
Loading…
Add table
Reference in a new issue