From 7418abac3e67cf3ebec118c7b15bcc1b5966a3ad Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 9 Feb 2008 17:56:34 -0300 Subject: [PATCH] Marked parted to build against dietlibc, and tweaked a bit to compile staticly --- filesystem/parted/parted.conf | 6 +++++- filesystem/parted/parted.desc | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/filesystem/parted/parted.conf b/filesystem/parted/parted.conf index 602c6fd70..81364340e 100644 --- a/filesystem/parted/parted.conf +++ b/filesystem/parted/parted.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../parted/parted.conf -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -22,3 +22,7 @@ pkginstalled readline || var_append confopt ' ' "--without-readline" # device mapper support pkginstalled device-mapper && var_append confopt ' ' "--enable-device-mapper" + +if [ "$SDECFG_STATIC" = 1 -o "$pkg_dietlibc_useit" = 1 ]; then + var_append extraconfopt ' ' '--disable-dynamic-loading' +fi diff --git a/filesystem/parted/parted.desc b/filesystem/parted/parted.desc index aae920854..793c343c8 100644 --- a/filesystem/parted/parted.desc +++ b/filesystem/parted/parted.desc @@ -3,7 +3,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../parted/parted.desc -[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project +[COPY] Copyright (C) 2006 - 2008 The OpenSDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] Copyright (C) 1998 - 2004 Clifford Wolf [COPY] @@ -29,7 +29,7 @@ [C] extra/filesystem -[F] NO-AS-NEEDED +[F] NO-AS-NEEDED DIETLIBC [L] GPL [S] Stable