summaryrefslogtreecommitdiff
path: root/net/b2bua/files/patch-build::Makefile.pkg
blob: 034c8f964d957055f0e7c1e24b0ab73e30c42146 (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
$FreeBSD$

--- build/Makefile.pkg.orig	Thu Apr 25 23:18:34 2002
+++ build/Makefile.pkg	Sun Jan 19 17:28:26 2003
@@ -415,13 +415,13 @@
 	cd $(ROOT)/proxies/fs/cpl;$(MAKE) 
 
 LIBXML_INCLUDEDIRS := $(ROOT)/contrib/libxml2.$(OS_ARCH)
-LIBXML_LIBDIRS := $(ROOT)/contrib/libxml2.$(OS_ARCH)/.libs 
+LIBXML_LIBDIRS := $(LOCALBASE)/lib
 ifeq ($(OSTYPE),Linux)
 LIBXML_LIBNAME :=
 endif
 
 ifeq ($(OSTYPE),FreeBSD)
- LIBXML_LDLIBS_LAST := $(LD_STATIC) -lxml $(LD_DYNAMIC)
+ LIBXML_LDLIBS_LAST := -lxml2
 endif
 
 ifeq ($(OSTYPE),Linux)
@@ -435,7 +435,7 @@
 LIBXML_DEPENDS := $(ROOT)/contrib/libxml2.$(OS_ARCH)/.libs/libxml.a
 
 $(LIBXML_DEPENDS):
-	cd $(ROOT)/contrib ;$(MAKE) libxml
+#	cd $(ROOT)/contrib ;$(MAKE) libxml
 
 ENUM_INCLUDEDIRS := $(ROOT)/contrib/enum.$(OS_ARCH)/include
 #ENUM_LIBDIRS := $(ROOT)/contrib/enum.$(OS_ARCH)/lib /usr/local/bind-8.2.2p7/src/lib
@@ -627,8 +627,8 @@
 ifneq ($(OSTYPE),FreeBSD)
 PTHREAD_LIBNAME := pthread
 else
-PTHREAD_LDFLAGS := -pthread
-PTHREAD_LIBNAME := c_r
+PTHREAD_LDFLAGS ?= -pthread
+PTHREAD_LIBNAME ?= c_r
 endif
 
 ifeq ($(OSTYPE),IRIX64)