summaryrefslogtreecommitdiff
path: root/graphics/tuxpaint/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tuxpaint/patches/patch-aa')
-rw-r--r--graphics/tuxpaint/patches/patch-aa26
1 files changed, 13 insertions, 13 deletions
diff --git a/graphics/tuxpaint/patches/patch-aa b/graphics/tuxpaint/patches/patch-aa
index 7c840e4d16d..4981abba131 100644
--- a/graphics/tuxpaint/patches/patch-aa
+++ b/graphics/tuxpaint/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.6 2003/10/05 12:34:04 wiz Exp $
+$NetBSD: patch-aa,v 1.7 2004/03/07 02:01:00 snj Exp $
---- Makefile.orig Tue Aug 19 11:17:38 2003
-+++ Makefile
+--- Makefile.orig 2003-12-23 17:46:04.000000000 -0800
++++ Makefile 2004-03-06 16:51:48.000000000 -0800
@@ -11,7 +11,7 @@
# Where to install things:
@@ -45,28 +45,28 @@ $NetBSD: patch-aa,v 1.6 2003/10/05 12:34:04 wiz Exp $
- install-gnome install-kde install-kde-icons \
- install-icon install-gettext install-importscript \
+ install-gettext install-importscript \
- install-default-config
+ install-default-config install-example-stamps
@echo
@echo "--------------------------------------------------------------"
-@@ -245,9 +237,9 @@ uninstall:
+@@ -247,9 +239,9 @@ uninstall:
install-default-config:
@echo
@echo "...Installing default config file..."
- @install -d $(CONFDIR)
- @cp src/tuxpaint.conf $(CONFDIR)
- @chmod 644 $(CONFDIR)/tuxpaint.conf
-+ @install -d $(PREFIX)/share/examples/tuxpaint
-+ @cp src/tuxpaint.conf $(PREFIX)/share/examples/tuxpaint
-+ @chmod 644 $(PREFIX)/share/examples/tuxpaint/tuxpaint.conf
++ @$(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/examples/tuxpaint
++ @$(CP) src/tuxpaint.conf $(PREFIX)/share/examples/tuxpaint
++ @$(CHMOD) 644 $(PREFIX)/share/examples/tuxpaint/tuxpaint.conf
- # Install a launcher icon in the Gnome menu, under "Graphics"
-@@ -527,7 +519,7 @@ install-man:
- tuxpaint: obj/tuxpaint.o $(ARCH_LIBS)
+ # Install example stamps
+@@ -554,7 +546,7 @@ install-man:
+ tuxpaint: obj/tuxpaint.o obj/hqxx.o obj/hq4x.o $(ARCH_LIBS)
@echo
@echo "...Linking Tux Paint..."
- @$(CC) $(CFLAGS) $(SDL_CFLAGS) $(DEFS) \
+ @$(CC) $(CFLAGS) $(LDFLAGS) $(SDL_CFLAGS) $(DEFS) \
- -o tuxpaint obj/tuxpaint.o $(ARCH_LIBS) $(SDL_LIBS) \
+ -o tuxpaint obj/tuxpaint.o obj/hqxx.o obj/hq4x.o \
+ $(ARCH_LIBS) $(SDL_LIBS) \
-lm $(ARCH_LINKS)
- @$(RSRC_CMD)