flag-o-matic
authorSeemant Kulleen <seemant@gentoo.org>
Wed, 6 Nov 2002 11:41:15 +0000 (11:41 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Wed, 6 Nov 2002 11:41:15 +0000 (11:41 +0000)
media-gfx/gphoto/ChangeLog
media-gfx/gphoto/gphoto-0.4.3-r2.ebuild

index cb70528e4ae21e2a3447ff679360a8d076081570..5a59bee990d0fb8c509c6e48f7f595e2d31d96ef 100644 (file)
@@ -1,12 +1,13 @@
 # ChangeLog for media-gfx/gphoto
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/ChangeLog,v 1.5 2002/11/06 10:37:55 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/ChangeLog,v 1.6 2002/11/06 11:41:15 seemant Exp $
 
 *gphoto-0.4.3-r2 (12 June 2002)
 
   06 Nov 2002; Seemant Kulleen <seemant@gentoo.org> gphoto-0.4.3-r2 :
 
-  FHS standard manpages installation now -- switched to econf and einstall
+  FHS standard manpages installation now -- switched to econf and einstall.
+  Also use flag-o-matic eclass to filter out the -pipe compile optimisation.
 
   12 June 2002; Matthew Kennedy <mkennedy@gentoo.org>
   files/digest-gphoto-0.4.3-r2,
index db623b2823a3c3081742ed68cf0957851c593de6..d170a50a73dc7e0210a00fe19060209777ba6d94 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/gphoto-0.4.3-r2.ebuild,v 1.7 2002/11/06 10:37:55 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto/gphoto-0.4.3-r2.ebuild,v 1.8 2002/11/06 11:41:15 seemant Exp $
+
+inherit flag-o-matic
 
 S=${WORKDIR}/${P}
 DESCRIPTION="free, redistributable digital camera software application"
@@ -22,8 +24,14 @@ src_unpack() {
 
 src_compile() {
        # -pipe does no work
-       CFLAGS="${CFLAGS/-pipe}"
-       econf --sysconfdir=/etc/gnome || die
+       filter-flags -pipe
+
+       local myconf
+       use nls || myconf="${myconf} --disable-nls"
+
+       econf \
+               --sysconfdir=/etc/gnome \
+               ${myconf} || die
        make clean || die
        pmake || die
 }