summaryrefslogtreecommitdiff
path: root/graphics/vid/patches/patch-aa
blob: c6aedf32905650624a3ac3627c1900bf7b2b2612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.1.1.1 2002/02/18 03:06:16 wulf Exp $

--- Makefile.orig	Mon May  8 00:59:03 2000
+++ Makefile
@@ -5,13 +5,12 @@
 VERSION	= 1.0.1
 
 CFLAGS	= -O
-CPPFLAGS = -I/usr/local/include
-LIBS	= -L/usr/local/lib -lpnm
+LIBS	= -lpnm -lpbm -lpgm -lppm
 
 default:	vid
 
 vid:	vid.c vid.h
-	$(CC) $(CPPFLAGS) $(CFLAGS) -o vid vid.c $(LIBS)
+	$(CC) $(CPPFLAGS) $(CFLAGS) -o vid vid.c $(LIBS) $(LDFLAGS)
 
 dist:	vid-$(VERSION).tar.gz