8f7c75985d
Add some build fixes where necessary.
20 lines
421 B
Text
20 lines
421 B
Text
$NetBSD: patch-aa,v 1.4 2014/09/08 21:24:45 wiz Exp $
|
|
|
|
--- Makefile.orig 2003-12-08 09:28:02.000000000 +0000
|
|
+++ Makefile
|
|
@@ -4,12 +4,12 @@
|
|
|
|
# use always:
|
|
DEFINES :=
|
|
-LIBS := -lm
|
|
-INCLUDES :=
|
|
+LIBS := ${LDFLAGS} -lm
|
|
+INCLUDES := ${CPPFLAGS}
|
|
|
|
### enable ppm support ###
|
|
DEFINES += -D_HAVE_LIB_PPM_
|
|
-LIBS += -lppm
|
|
+LIBS += -lnetpbm ${LDFLAGS}
|
|
|
|
### enable PNG support ###
|
|
DEFINES += -D_HAVE_PNG_
|