--- cdrtools-2.01.01_alpha34.ebuild.extraflags 2007-11-10 14:05:38.000000000 -0600 +++ cdrtools-2.01.01_alpha34.ebuild.extraflags 2007-11-11 02:59:23.000000000 -0600 @@ -12,7 +12,8 @@ SLOT="0" KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" -IUSE="unicode" +IUSE="acl unicode" DEPEND="virtual/libc + acl? (sys-apps/acl) !app-cdr/dvdrtools !app-cdr/cdrkit" @@ -28,4 +29,5 @@ epatch "${FILESDIR}"/${PN}-2.01.01a03-warnings.patch epatch "${FILESDIR}"/${P}-asneeded.patch + epatch "${FILESDIR}"/${PN}-2.01.01_alpha34-extraflags.patch # ppc-macos support @@ -59,5 +61,13 @@ fi fi - emake CC="$(tc-getCC) -D__attribute_const__=const" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" || die + cd "${S}"/conf + autoconf + CONFFLAGS="" + if use acl; then + CONFFLAGS+=--with-acl + else + CONFFLAGS+=--without-acl + fi + emake CC="$(tc-getCC) -D__attribute_const__=const" CONFFLAGS="${CONFFLAGS}" COPTX="${CFLAGS}" CPPOPTX="${CPPFLAGS}" LDOPTX="${LDFLAGS}" || die }