pkgsrc/graphics/vid/patches/patch-aa
wiz 6ecc8eb0f3 Convert to bl3, and link against libnetpbm, since that's the only
library that seems to be provided by the netpbm package.
2004-04-24 01:06:20 +00:00

20 lines
424 B
Text

$NetBSD: patch-aa,v 1.2 2004/04/24 01:06:20 wiz Exp $
--- Makefile.orig Mon May 8 06: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 = -lnetpbm
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