aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-devel/files/patch-product::util::makefile.mk
blob: 1df961f90223a6bac95459e7c45b2616938cf926 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
--- ../product/util/makefile.mk.orig	Wed Feb 27 12:32:19 2002
+++ ../product/util/makefile.mk	Tue Mar 12 14:08:34 2002
@@ -115,13 +115,26 @@
 STLPORTLIBNAME=stlport_vc6.dll
 ADDITIONAL_DLLS= \
 	$(DESTDIRDLL)$/w9xucwrp.dll
+.ELIF "$(OS)"=="FREEBSD"
+###########
+# FREEBSD
+###########
+DESTDIRBIN=$(DESTDIR)$/freebsd$/bin
+DESTDIRLIB=$(DESTDIR)$/freebsd$/lib
+DESTDIRDLL=$(DESTDIRLIB)
+STLPORTLIBNAME=libstlport_gcc.so
+BINDINGDLL=$(COMNAME)_uno
 .ENDIF
 
 STLPORTDEST=$(DESTDIRDLL)$/$(STLPORTLIBNAME)
 .IF "$(STLPORT4)" != ""
 # in OOo build environment
 .IF "($STLPORT4)" != "NO_STLPORT4"
+.IF "$(OS)" != "FREEBSD"
 STLPORTOUT=$(SOLARVER)$/$(UPD)$/$(INPATH)$/bin$/$(STLPORTLIBNAME)
+.ELSE
+STLPORTOUT=$(STLPORT4)$/lib$/$(STLPORTLIBNAME)
+.ENDIF
 .ELSE	
 STLPORTOUT=$(STLPORT4)$/lib$/$(STLPORTLIBNAME)
 .ENDIF
@@ -367,8 +380,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 -fs $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $@
+	+ln -fs $(@:f)$(MY_VERSION_LINKTARGETPOSTFIX) $(@:db)
 
 
 #---------------------------------------------------------
@@ -379,7 +392,7 @@
 #
 #$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
 #	-rm -f $@
-#	+ln -s libstdc++.so.3.0.1 $@
+#	+ln -fs libstdc++.so.3.0.1 $@
 
 $(DESTDIRDLL)$/libgcc_s.so.1 : $(DLLOUT)$/libgcc_s.so.1 $(DIRLIST)
 	-rm -f $@
@@ -387,7 +400,7 @@
 
 $(DESTDIRDLL)$/libgcc_s.so : $(DESTDIRDLL)$/libgcc_s.so.1 $(DIRLIST)
 	-rm -f $@
-	+ln -s libgcc_s.so.1 $@
+	+ln -fs libgcc_s.so.1 $@
 #-------------------------------------------------------------
 
 $(DESTDIRJAR)$/%.jar : $(BINOUT)$/%.jar $(DIRLIST)