From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L5Hx6-0005qK-Rk for garchives@archives.gentoo.org; Wed, 26 Nov 2008 10:49:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D009E0559; Wed, 26 Nov 2008 10:48:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id ED389E0559 for ; Wed, 26 Nov 2008 10:48:58 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 97F4E645F6 for ; Wed, 26 Nov 2008 10:48:58 +0000 (UTC) Received: from bicatali by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1L5Hx4-0000U8-5y for gentoo-commits@lists.gentoo.org; Wed, 26 Nov 2008 10:48:58 +0000 From: "Sebastien Fabbro (bicatali)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, bicatali@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/spectromatic/files: spectromatic-1.0-makefile.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: spectromatic-1.0-makefile.patch X-VCS-Directories: sci-visualization/spectromatic/files X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro Content-Type: text/plain; charset=utf8 Message-Id: Sender: Sebastien Fabbro Date: Wed, 26 Nov 2008 10:48:58 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 271c09c4-454f-4c02-b3ac-02cefbd09d71 X-Archives-Hash: d1ea1fc2bd5e90c755d19739a2a1fe43 bicatali 08/11/26 10:48:58 Added: spectromatic-1.0-makefile.patch Log: Fix installation for man files, cleaned ebuild and propagate cflags (Portage version: 2.2_rc15/cvs/Linux 2.6.25-gentoo-r7 x86_64) Revision Changes Path 1.1 sci-visualization/spectromatic/files/spectromatic-1.= 0-makefile.patch file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/= spectromatic/files/spectromatic-1.0-makefile.patch?rev=3D1.1&view=3Dmarku= p plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/= spectromatic/files/spectromatic-1.0-makefile.patch?rev=3D1.1&content-type= =3Dtext/plain Index: spectromatic-1.0-makefile.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- spectromatic-1.0/Makefile 2002-03-30 05:17:34.000000000 +0000 +++ spectromatic-1.0.new/Makefile 2008-11-26 10:43:15.910065276 +0000 @@ -1,33 +1,29 @@ # Makefile for spectromatic =20 -CFLAGS =3D -O2 -Wall=20 LIBS =3D -lgsl -lgslcblas -lpng -lm DESTDIR =3D TOPLEVEL_HOME =3D /usr =20 -CC =3D gcc -I. - SRC =3D spectromatic.c wave.c =20 OBJ =3D $(SRC:.c=3D.o) =20 TARGET =3D spectromatic =20 -install: all - mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/bin - mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/man/man1 - install -o root -g root -m 0755 spectromatic $(DESTDIR)$(TOPLEVEL_HOME)= /bin - install -o root -g root -m 0644 man/spectromatic.1 $(DESTDIR)$(TOPLEVEL= _HOME)/man/man1 - all: $(OBJ) $(CC) -o $(TARGET) $(OBJ) $(LIBS) - strip $(TARGET) + +install: all + mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/bin + mkdir -p $(DESTDIR)$(TOPLEVEL_HOME)/share/man/man1 + install -m 0755 spectromatic $(DESTDIR)$(TOPLEVEL_HOME)/bin + install -m 0644 man/spectromatic.1 $(DESTDIR)$(TOPLEVEL_HOME)/share/man= /man1 =20 clean: $(RM) $(TARGET) $(OBJ) =20 .c.o: - $(CC) $(CFLAGS) -c $<=20 + $(CC) $(CFLAGS) -I. -c $<=20 =20 .o: $(CC) $< $(LIBS) -o $@