summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-bd
blob: 9de1948337cfc80bccf67911e580d1feaf14b8fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-bd,v 1.1.1.1 2002/02/13 18:09:22 mrauch Exp $

--- ../product/util/makefile.mk.orig	Tue Jan  1 14:10:58 2002
+++ ../product/util/makefile.mk
@@ -101,6 +101,16 @@
 STLPORTLIBNAME=libstlport_gcc.so
 BINDINGDLL=gcc2_uno
 
+.ELIF "$(OS)"=="NETBSD"
+###########
+# NETBSD
+###########
+DESTDIRBIN=$(DESTDIR)$/netbsd$/bin
+DESTDIRLIB=$(DESTDIR)$/netbsd$/lib
+DESTDIRDLL=$(DESTDIRLIB)
+STLPORTLIBNAME=libstlport_gcc.so
+BINDINGDLL=gcc2_uno
+
 .ELIF "$(OS)"=="WNT"
 ###############
 # WINDOWS
@@ -360,8 +370,8 @@
 	$(GNUCOPY) -p $(DLLOUT)$/$(@:f) $@
 
 $(DESTDIRDLL)$/%$(MY_VERSION_LINKPOSTFIX) : $(DESTDIRDLL)$/%$(MY_VERSION_DLLPOSTFIX) $(DIRLIST)
-	+ln -s $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $@
-	+ln -s $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $(@:db)
+	+ln -sf $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $@
+	+ln -sf $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $(@:db)
 
 $(DESTDIRJAR)$/%.jar : $(BINOUT)$/%.jar $(DIRLIST)
 	$(GNUCOPY) -p $(BINOUT)$/$(@:f) $@