summaryrefslogtreecommitdiff
path: root/misc/openoffice2/patches/patch-bn
blob: 901626523d2a396f81392b1adf1dbd3defe9beea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-bn,v 1.2 2007/03/04 13:11:19 hira Exp $

--- crashrep/source/unx/makefile.mk.orig	2007-02-24 00:59:23.000000000 +0900
+++ crashrep/source/unx/makefile.mk	2007-02-24 00:59:55.000000000 +0900
@@ -70,8 +70,8 @@
 APP1TARGET=$(TARGET)
 APP1OBJS=$(OBJFILES)
 
-APP1STDLIBS=$(DYNAMIC) -lXext -lX11
-.IF "$(OS)" != "FREEBSD"
+APP1STDLIBS=$(DYNAMIC) $(X11_LDFLAGS) -lXext -lX11
+.IF "$(OS)" != "FREEBSD" && "$(OS)" != "NETBSD"
 APP1STDLIBS+=-ldl -lnsl
 .ENDIF
 .IF "$(OS)" == "SOLARIS"