summaryrefslogtreecommitdiffstats
path: root/databases/firebird-server/files/patch-ac
blob: bf5de43b75fb18740a4db023bc043b6515844734 (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
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
--- builds/original/prefix.freebsd	2000/10/08 15:36:25	1.2
+++ builds/original/prefix.freebsd	2001/01/11 19:17:58
@@ -28,7 +28,7 @@
 
 
 PROD_DEBUG_OBJECTS=	nodebug.o
-PROD_SHRLIB_DIR=	
+PROD_SHRLIB_DIR=	-Lsource/jrd
 PROD_VERSION_FLAG=	-DPROD_BUILD
 PROD_CFLAGS=            -O -m486 -fpic -DFLINTSTONE
 
@@ -48,7 +48,7 @@
 UDF_LINK_CMD=		gcc
 UDF_CFLAGS=         	-fPIC -mieee-fp
 UDF_LFLAGS=         	-shared
-UDF_SHRLIBS=        	-L/usr/local/lib -lgds -lm -lc -mieee-fp -ldescrypt
+UDF_SHRLIBS=        	$(SHRLIB_DIR) -lgds -lm -lc -mieee-fp -ldescrypt
 
 #NOTE: PIC_J_CFLAGS is special CFLAGS used to build PIPD_IS_SHRLIB modules
 #      to workaround the Solaris threading problems with signals
@@ -69,16 +69,14 @@
 FUNCTIONS=		functions.bin
 FUNCSHR=		source/interbase/lib/gdsf.so
 GDS_LINK=		$(GDSSHR_LINK)
-#GDS_PYXIS=
 GDS_PYXIS=		gds_pyxis.a
 GDSLIB_BACKEND=		source/interbase/lib/gds_b.a
 GDSLIB_LINK=		-Lsource/jrd -lgds_b -lc -ldescrypt
 
 GDSSHR=			source/interbase/lib/gds.so
 LINUX_GDSSHR=		$(GDSSHR)
-GDSSHR_LINK=		$(SHRLIB_DIR) -L/usr/local/lib -lgds -lgds_pyxis -ldescrypt
-PIPE_GDSSHR_LINK=	$(SHRLIB_DIR) -L/usr/local/lib -lgds -lgds_pyxis
-#PIPE_GDSSHR_LINK=	$(SHRLIB_DIR) -lgds -lgds_pyxis
+GDSSHR_LINK=		$(SHRLIB_DIR) -lgds -lgds_pyxis -ldescrypt
+PIPE_GDSSHR_LINK=	$(SHRLIB_DIR) -lgds -lgds_pyxis
 HLPDIR=			source/qli/
 HOSTNAME=		`hostname | cut -d'.' -f1`
 INCLUDES=		include_so include_so_ada	
@@ -106,11 +104,6 @@
 MUISQL_LINK_OPTS=	$(MUISQL_MU_LIB) $(PIPE_GDSSHR_LINK) -lm 
 PIC_FLAGS=		$(CFLAGS) -fPIC
 PIPE=			gds.a gds_pipe
-#PYXIS=
-#PYXIS_MISC_OBJS=
-#PYXIS_P_MISC_OBJS=
-#PYXIS_OBJECTS=
-#PYXIS_MISC_OBJECTS=
 PYXIS=			pyxis
 PYXIS_MISC_OBJS=	$(PYXIS_MISC)
 PYXIS_P_MISC_OBJS=	$(PYXIS_P_MISC)
@@ -167,5 +160,8 @@
 SHRLIB_EXT=		.so
 
 V3PRINTER=		source/lock/printv3.o
+
+# Forces library build for FreeBSD
+PYXIS_LIBRARY= libpyxis.a
OpenPOWER on IntegriCloud