summaryrefslogtreecommitdiff
path: root/misc/openoffice2/patches/patch-bw
blob: 4a67c314e12ec208e3f5acbfc7dbbbdc599c6efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-bw,v 1.2 2007/04/05 23:24:01 hira Exp $

--- canvas/source/cairo/makefile.mk.orig	2007-02-02 03:59:18.000000000 +0900
+++ canvas/source/cairo/makefile.mk	2007-04-01 22:07:07.000000000 +0900
@@ -83,9 +83,9 @@
 SHL1STDLIBS= $(CPPULIB) $(TKLIB) $(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)