summaryrefslogtreecommitdiff
path: root/graphics/xli/patches/patch-aa
blob: 1000c788c98b7702941b221b84eef10c2ed72e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.5 2001/06/29 20:03:42 jlam Exp $

--- Imakefile.orig	Fri Jun 29 16:00:07 2001
+++ Imakefile
@@ -10,10 +10,10 @@
       CCOPTIONS = -Aa -D_HPUX_SOURCE
 #endif
 
-     	INCLUDES = -I../zlib -I../libpng
+     	INCLUDES = -I${BUILDLINK_DIR}/include
     SYSPATHFILE = $(XAPPLOADDIR)/Xloadimage
         DEPLIBS = $(DEPXLIB)
-LOCAL_LIBRARIES = $(XLIB) -L../zlib -L../libpng -lpng -lz 
+LOCAL_LIBRARIES = $(XLIB) -L${BUILDLINK_DIR}/lib -Wl,-R${LOCALBASE}/lib -lpng -lz 
 SYS_LIBRARIES   = -lm
         DEFINES = -DHAVE_GUNZIP