summaryrefslogtreecommitdiff
path: root/graphics/gmngview/patches/patch-aa
blob: 0bf79e54dd49a6239422d686f10b2b84c1630ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.2 2002/12/16 12:07:22 wiz Exp $

--- Makefile.orig	Sun Jun 23 18:59:38 2002
+++ Makefile
@@ -1,4 +1,3 @@
-LIBMNG_PREFIX = /usr/local
 
 CC = gcc
 
@@ -12,7 +11,7 @@ CFLAGS = -g -O2 -Wall \
 #LIBS = `gtk-config --libs` \
 #	-L$(LIBMNG_PREFIX)/lib -lmng -ljpeg -lz
 LIBS = `gdk-pixbuf-config --libs` \
-	-L$(LIBMNG_PREFIX)/lib -lmng -ljpeg -llcms -lz
+	-L$(LIBMNG_PREFIX)/lib -lmng -ljpeg -llcms -lz -lm
 
 OBJ = dummy.o \
       gtk-mng-view.o
@@ -29,7 +28,7 @@ $(EXE_BASENAME): $(OBJ)
 $(EXE_BASENAME)-static: $(OBJ)
 	$(CC) -static -o $(EXE_BASENAME)-static $(OBJ) $(LIBS)
 
-.c.o: gtk-mng-viewer.h
+.c.o: gtk-mng-view.h
 	$(CC) -c $(CFLAGS) $<
 
 clean: