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

--- vcl/util/makefile.mk.orig	2007-01-19 21:56:23.000000000 +0900
+++ vcl/util/makefile.mk	2007-04-01 21:30:29.000000000 +0900
@@ -300,8 +300,8 @@
 SHL2STDLIBS+=$(LIBSN_LIBS)
 .ENDIF
 
-SHL2STDLIBS += -lXext -lSM -lICE -lX11
-.IF "$(OS)"!="MACOSX" && "$(OS)"!="FREEBSD"
+SHL2STDLIBS += $(X11_LDFLAGS) -lXext -lSM -lICE -lX11
+.IF "$(OS)"!="MACOSX" && "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD"
 # needed by salprnpsp.cxx
 SHL2STDLIBS+= -ldl
 .ENDIF