summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf/patches/patch-ad
blob: 5cc2563e41d80f327bd2b94842183b7cf8f1164e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ad,v 1.5 2003/01/15 21:03:26 wiz Exp $

--- gdk-pixbuf/pixops/Makefile.in.orig	Wed Dec 18 23:19:33 2002
+++ gdk-pixbuf/pixops/Makefile.in
@@ -381,6 +372,15 @@ all-redirect all-am all installdirs most
 distclean-generic clean-generic maintainer-clean-generic clean \
 mostlyclean distclean maintainer-clean
 
+
+ifeq (m68k,$(findstring m68k,$(host_alias)))
+pixops.o: pixops.c
+	$(COMPILE) -O -c $<
+
+pixops.lo: pixops.c
+	$(LIBTOOL) --mode=compile $(COMPILE) -O -c $<
+
+ endif
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.