From b2c402fe52fff320952235e326628764e3e77a8f Mon Sep 17 00:00:00 2001 From: reinhard Date: Thu, 15 Mar 2001 15:37:23 +0000 Subject: [PATCH] - patch updated to respect CFLAGS/CPPFLAGS - remove unnessesary lines from Makefile, rearrange - fix BUILD_DEPENDS - bump NEED_VERSION from maintainer --- games/gtkpool/Makefile | 13 +++++----- games/gtkpool/patches/patch-Makefile | 38 ++++++++++++++++++++++++---- 2 files changed, 39 insertions(+), 12 deletions(-) diff --git a/games/gtkpool/Makefile b/games/gtkpool/Makefile index c3dd3b9144c..c223501dab3 100644 --- a/games/gtkpool/Makefile +++ b/games/gtkpool/Makefile @@ -1,25 +1,24 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $ +# $OpenBSD: Makefile,v 1.2 2001/03/15 15:37:23 reinhard Exp $ DISTNAME= gtkpool-0.3.4 CATEGORIES= games x11 -NEED_VERSION= 1.352 +NEED_VERSION= 1.359 +MASTER_SITES= ${HOMEPAGE} HOMEPAGE= http://gtkpool.seul.org/ -MASTER_SITES= ${HOMEPAGE} +LIB_DEPENDS= gtk.1.2::x11/gtk+ +BUILD_DEPENDS= gtk-config::x11/gtk+ MAINTAINER= Peter Valchev -FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}" - PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -LIB_DEPENDS= gtk.1.2::x11/gtk+ - USE_X11= Yes +MAKE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gtkpool ${PREFIX}/bin/gtkpool diff --git a/games/gtkpool/patches/patch-Makefile b/games/gtkpool/patches/patch-Makefile index d8d2d97a18b..a7cd60d8faa 100644 --- a/games/gtkpool/patches/patch-Makefile +++ b/games/gtkpool/patches/patch-Makefile @@ -1,12 +1,40 @@ -$OpenBSD: patch-Makefile,v 1.1.1.1 2001/02/04 18:35:52 reinhard Exp $ ---- Makefile.orig Wed Dec 15 23:35:43 1999 -+++ Makefile Sat Jan 20 16:52:19 2001 -@@ -13,7 +13,7 @@ run: gtkpool +$OpenBSD: patch-Makefile,v 1.2 2001/03/15 15:37:24 reinhard Exp $ +--- Makefile.orig Sun Jan 2 16:33:01 2000 ++++ Makefile Fri Mar 9 08:15:19 2001 +@@ -1,5 +1,6 @@ + +-CFLAGS=-g ++CFL=${CFLAGS} ++CPPFL=${CPPFLAGS} + + all: gtkpool + +@@ -13,22 +14,22 @@ run: gtkpool ./gtkpool gtkpool: $(OBJS) - g++ $(OBJS) $(CFLAGS) -o gtkpool `gtk-config --libs` -+ g++ $(OBJS) $(CFLAGS) -o gtkpool `gtk-config --libs` -lossaudio ++ g++ $(OBJS) $(CPPFL) $(CFL) -o gtkpool `gtk-config --libs` -lossaudio popt.o: gcc -c popt.c -o popt.o + + gui.o: gui.cc application.hh pool.hh myconfig.hh options.hh +- g++ $(CFLAGS) -c gui.cc -o gui.o $(GTKFLAGS) ++ g++ $(CPPFL) $(CFL) -c gui.cc -o gui.o $(GTKFLAGS) + + application.o: application.cc application.hh pool.hh myconfig.hh sound.hh +- g++ $(CFLAGS) -c application.cc -o application.o $(GTKFLAGS) ++ g++ $(CPPFL) $(CFL) -c application.cc -o application.o $(GTKFLAGS) + + pool.o: pool.cc pool.hh myconfig.hh +- g++ $(CFLAGS) -c pool.cc -o pool.o $(GTKFLAGS) ++ g++ $(CPPFL) $(CFL) -c pool.cc -o pool.o $(GTKFLAGS) + + options.o: options.cc options.hh application.hh +- g++ $(CFLAGS) -c options.cc -o options.o $(GTKFLAGS) ++ g++ $(CPPFL) $(CFL) -c options.cc -o options.o $(GTKFLAGS) + + sound.o: sound.cc sound.hh +- g++ $(CFLAGS) -c sound.cc -o sound.o $(GTKFLAGS) ++ g++ $(CPPFL) $(CFL) -c sound.cc -o sound.o $(GTKFLAGS)