summaryrefslogtreecommitdiff
path: root/misc/openoffice2/patches/patch-bw
blob: 0abbefddf40d08b7e0a2969ecc3f63666f5d7a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-bw,v 1.1 2007/03/17 02:24:36 hira Exp $

--- canvas/source/cairo/makefile.mk.orig	2007-03-17 10:59:33.000000000 +0900
+++ canvas/source/cairo/makefile.mk	2007-03-17 10:59:55.000000000 +0900
@@ -110,9 +110,9 @@
 SHL1STDLIBS= $(CPPULIB) $(SALLIB) $(VCLLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(BASEGFXLIB) $(CANVASTOOLSLIB) $(TOOLSLIB)
 
 .IF "$(SYSTEM_CAIRO)" == "YES"
-SHL1STDLIBS+= $(CAIRO_LIBS) -lX11 -lXrender
+SHL1STDLIBS+= $(CAIRO_LIBS) $(X11_LDFLAGS) -lX11 -lXrender
 .ELSE
-SHL1STDLIBS+= -lcairo -lX11 -lXrender
+SHL1STDLIBS+= -lcairo $(X11_LDFLAGS) -lX11 -lXrender
 .ENDIF
 
 SHL1IMPLIB=i$(TARGET)