Fix build with new png header include path.

From maintainer Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>.
This commit is contained in:
naddy 2002-07-20 19:45:56 +00:00
parent 1e1250aa38
commit e9bb06905a

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/07/13 17:50:45 pvalchev Exp $
$OpenBSD: patch-Makefile,v 1.2 2002/07/20 19:45:56 naddy Exp $
--- Makefile.orig Thu Feb 4 01:43:27 1999
+++ Makefile Sat Jun 30 23:33:23 2001
+++ Makefile Sat Jul 20 18:47:42 2002
@@ -40,7 +40,7 @@ PLATFORM=Motif
# remove the examples directory from this line.
# If you want to build the XmHTML tutorial examples, add the book directory.
@ -37,7 +37,7 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2001/07/13 17:50:45 pvalchev Exp $
ZLIBINC =
-IMAGEINCLUDES = $(ZLIBINC)
+IMAGEINCLUDES = -I${LOCALBASE}/include $(ZLIBINC)
+IMAGEINCLUDES = -I${LOCALBASE}/include $(ZLIBINC) -I${LOCALBASE}/include/libpng
# Image libraries
# No need to add -lXpm if you need to include it with LIBS below