# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
checksums rmd160 4a1098a2bfa2ed6eccaf61879b6c0f035354ca82 \
sha256 2e045b3160370b8ab4d44d1f8d267e5d1d555f1bb522d650e7167b09477266ed \
maintainers {ryandesign @ryandesign} openmaintainer
description Tool for simulating superuser privileges
long_description fakeroot runs a command in an environment where it \
appears to have root privileges for file manipulation. \
of LD_PRELOAD and SYSV IPC (or TCP) trickery.
homepage https://wiki.debian.org/FakeRoot/
master_sites debian:f/${name}
distname ${name}_${version}.orig
worksrcdir ${name}-${version}
patchfiles patch-libfakeroot.c.diff \
# Build settings adapted from instructions at
# https://github.com/mackyle/fakeroot/blob/787d757/README_MACOSX.txt
autoreconf.cmd ./bootstrap
depends_build port:autoconf port:automake port:libtool
depends_skip_archcheck-append libtool
default_variants +universal
configure.universal_archs x86_64 i386 ppc64 ppc
configure.cflags-append -mmacosx-version-min=10.4
configure.universal_archs x86_64 i386 ppc64 ppc
configure.ldflags-append -Wl,-force_cpusubtype_ALL
configure.universal_archs x86_64 i386 ppc
configure.cflags-append -Wno-deprecated-declarations
configure.ldflags-append -Wl,-force_cpusubtype_ALL
configure.universal_archs x86_64 i386
configure.cflags-append -Wno-deprecated-declarations -Wno-extra-tokens