Lines 1-7
Link Here
|
1 |
--- /Makefile.orig 2010-06-29 21:16:10.000000000 +0200 |
1 |
--- Makefile.orig 2013-04-10 19:52:39.000000000 +0200 |
2 |
+++ Makefile 2010-06-29 21:17:45.000000000 +0200 |
2 |
+++ Makefile 2013-07-01 13:48:08.000000000 +0200 |
3 |
@@ -90,9 +90,9 @@ |
3 |
@@ -1,11 +1,11 @@ |
|
|
4 |
# platforms: |
5 |
-# linux-x86-32 |
6 |
+# freebsd |
7 |
# linux-x86-64 |
8 |
# win32-cygwin |
9 |
# solaris9-sparc-64 |
10 |
# macosx |
11 |
# solaris8 |
12 |
-PLATFORM = linux-x86-32 |
13 |
+PLATFORM = freebsd |
4 |
|
14 |
|
|
|
15 |
# 'Makefile.version' defines the $(VERSION) of the library, and also |
16 |
# setup the OBJS variable - stuff to be compiled. |
17 |
@@ -30,7 +30,7 @@ |
18 |
|
19 |
# .h files installed to $(DESTDIR)/$(PREFIX)/include/$(NAME) |
20 |
# static lib .a files installed to $(DESTDIR)/$(PREFIX)/lib |
21 |
-PREFIX = /usr/local |
22 |
+PREFIX=/usr/local |
23 |
|
24 |
# debian |
25 |
#PREFIX = /usr |
26 |
@@ -39,7 +39,7 @@ |
27 |
INCLUDE = -I/usr/include/libxml2 |
28 |
|
29 |
# Add for libxml2 if not in above location |
30 |
-#CFLAGS += `xml2-config --cflags` |
31 |
+CFLAGS += `xml2-config --cflags` |
32 |
|
33 |
# CXX, CFLAGS, LIBS, LDFLAGS, LDFLAGSSO |
34 |
include Makefile.Defines.$(PLATFORM) |
35 |
@@ -96,9 +96,9 @@ |
36 |
|
5 |
install: all |
37 |
install: all |
6 |
@mkdir -p $(DESTDIR)/$(PREFIX)/lib |
38 |
@mkdir -p $(DESTDIR)/$(PREFIX)/lib |
7 |
- cp $(LIBNAME) $(DESTDIR)/$(PREFIX)/lib |
39 |
- cp $(LIBNAME) $(DESTDIR)/$(PREFIX)/lib |
Lines 12-18
Link Here
|
12 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/SSLSocket.* |
44 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/SSLSocket.* |
13 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/HttpsGetSocket.* |
45 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/HttpsGetSocket.* |
14 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/HttpsSocket.* |
46 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/HttpsSocket.* |
15 |
@@ -106,12 +106,12 @@ |
47 |
@@ -112,12 +112,12 @@ |
16 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/Min*Handler.h |
48 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/Min*Handler.h |
17 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/Uid.h |
49 |
@rm -f $(DESTDIR)/$(PREFIX)/include/$(NAME)/Uid.h |
18 |
@mkdir -p $(DESTDIR)/$(PREFIX)/bin |
50 |
@mkdir -p $(DESTDIR)/$(PREFIX)/bin |
Lines 24-30
Link Here
|
24 |
- install -m 0644 $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib |
56 |
- install -m 0644 $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib |
25 |
- install -m 0644 pkgconfig/*pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig |
57 |
- install -m 0644 pkgconfig/*pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig |
26 |
+ @${BSD_INSTALL_DATA} $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib |
58 |
+ @${BSD_INSTALL_DATA} $(SHAREDLIBNAME) $(DESTDIR)/$(PREFIX)/lib |
27 |
+ @${BSD_INSTALL_DATA} pkgconfig/*pc $(DESTDIR)/$(PREFIX)/libdata/pkgconfig |
59 |
+ @${BSD_INSTALL_DATA} pkgconfig/*pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig |
28 |
rm -f $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so |
60 |
rm -f $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so |
29 |
rm -f $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so.$(MAJOR) |
61 |
rm -f $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so.$(MAJOR) |
30 |
ln -s $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so |
62 |
ln -s lib$(NAME).so.$(MAJOR).$(MINOR) $(DESTDIR)/$(PREFIX)/lib/lib$(NAME).so |