View | Details | Raw Unified | Return to bug 270963
Collapse All | Expand All

(-)./Makefile (-2 / +11 lines)
Lines 10-18 WWW= http://www.MysticWALL.COM/software/sxml/index.ht Link Here
10
LICENSE=	BSD2CLAUSE
10
LICENSE=	BSD2CLAUSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
12
13
GNU_CONFIGURE=	yes
14
USE_LDCONFIG=	yes
15
USES=		tar:bzip2
13
USES=		tar:bzip2
14
USE_LDCONFIG=	yes
15
16
GNU_CONFIGURE=	yes
17
18
do-install:
19
.for a in libsxml.a libsxml.so libsxml.so.1 libsxmlrpc.a libsxmlrpc.so libsxmlrpc.so.1
20
	${INSTALL_PROGRAM} ${WRKSRC}/${a} ${STAGEDIR}${PREFIX}/lib/
21
.endfor
22
.for a in sxml.h sxmlrpc.h
23
	${INSTALL_DATA} ${WRKSRC}/${a} ${STAGEDIR}${PREFIX}/include/
24
.endfor
16
25
17
do-test:
26
do-test:
18
	cd ${BUILD_WRKSRC}/examples && ${MAKE} all
27
	cd ${BUILD_WRKSRC}/examples && ${MAKE} all
(-)./files/patch-Makefile.in (-75 / +1 lines)
Lines 1-11 Link Here
1
--- Makefile.in.orig	2010-03-26 07:56:17 UTC
1
--- Makefile.in.orig	2010-03-26 07:56:17 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -30,11 +30,11 @@ CTAGS=@CTAGS@
3
@@ -34,7 +34,7 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ -s
4
 EDITOR=@EDITOR@
5
 
6
 INSTALL=@INSTALL@
7
-INSTALL_PROGRAM=@INSTALL_PROGRAM@ -s
8
+INSTALL_PROGRAM=@INSTALL_PROGRAM@
9
 INSTALL_DATA=@INSTALL_DATA@
4
 INSTALL_DATA=@INSTALL_DATA@
10
 
5
 
11
 DEFS= @DEFS@
6
 DEFS= @DEFS@
Lines 13-85 Link Here
13
+OPTS= -fstrength-reduce -funroll-loops -finline-functions
8
+OPTS= -fstrength-reduce -funroll-loops -finline-functions
14
 CPPFLAGS= -I@srcdir@
9
 CPPFLAGS= -I@srcdir@
15
 CFLAGS= ${DEFS} ${CPPFLAGS} ${OPTS} @CFLAGS@
10
 CFLAGS= ${DEFS} ${CPPFLAGS} ${OPTS} @CFLAGS@
16
 
17
@@ -121,43 +121,43 @@ libsxmlrpc.dylib: ${SXMLRPC_SOBJ}
18
 install:: check-dirs install-libsxml install-libsxmlrpc
19
 
20
 install-libsxml::
21
-	-${RM} ${libdir}/${SXML_PLIB}
22
-	${INSTALL_DATA} ${SXML_PLIB} ${libdir}
23
-	${RANLIB} -t ${libdir}/${SXML_PLIB}
24
-	-${RM} ${libdir}/${SXML_SLIB}
25
-	-${RM} ${libdir}/${SXML_DLIB}
26
-	-${RM} ${libdir}/${SXML_LIB}
27
+	-${RM} ${DESTDIR}${libdir}/${SXML_PLIB}
28
+	${INSTALL_DATA} ${SXML_PLIB} ${DESTDIR}${libdir}
29
+	${RANLIB} -t ${DESTDIR}${libdir}/${SXML_PLIB}
30
+	-${RM} ${DESTDIR}${libdir}/${SXML_SLIB}
31
+	-${RM} ${DESTDIR}${libdir}/${SXML_DLIB}
32
+	-${RM} ${DESTDIR}${libdir}/${SXML_LIB}
33
 	if [ -f ${SXML_SLIB} ]; then \
34
-	  ${INSTALL} ${SXML_SLIB} ${libdir}; \
35
-	  (cd ${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
36
+	  ${INSTALL_PROGRAM} ${SXML_SLIB} ${DESTDIR}${libdir}; \
37
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
38
 	fi
39
 	if [ -f ${SXML_DYLIB} ]; then \
40
-	  ${INSTALL} ${SXML_DYLIB} ${libdir}; \
41
-	  (cd ${libdir}; ${LN_S} ${SXML_DYLIB} ${SXML_DLIB}); \
42
+	  ${INSTALL} ${SXML_DYLIB} ${DESTDIR}${libdir}; \
43
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_DYLIB} ${SXML_DLIB}); \
44
 	fi
45
-	${INSTALL_DATA} ${SXML_HDR} ${includedir}
46
+	${INSTALL_DATA} ${SXML_HDR} ${DESTDIR}${includedir}
47
 
48
 install-libsxmlrpc::
49
-	-${RM} ${libdir}/${SXMLRPC_PLIB}
50
-	${INSTALL_DATA} ${SXMLRPC_PLIB} ${libdir}
51
-	${RANLIB} -t ${libdir}/${SXMLRPC_PLIB}
52
-	-${RM} ${libdir}/${SXMLRPC_SLIB}
53
-	-${RM} ${libdir}/${SXMLRPC_DLIB}
54
-	-${RM} ${libdir}/${SXMLRPC_LIB}
55
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_PLIB}
56
+	${INSTALL_DATA} ${SXMLRPC_PLIB} ${DESTDIR}${libdir}
57
+	${RANLIB} -t ${DESTDIR}${libdir}/${SXMLRPC_PLIB}
58
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_SLIB}
59
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_DLIB}
60
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_LIB}
61
 	if [ -f ${SXMLRPC_SLIB} ]; then \
62
-	  ${INSTALL} ${SXMLRPC_SLIB} ${libdir}; \
63
-	  (cd ${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
64
+	  ${INSTALL_PROGRAM} ${SXMLRPC_SLIB} ${DESTDIR}${libdir}; \
65
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
66
 	fi
67
 	if [ -f ${SXMLRPC_DYLIB} ]; then \
68
-	  ${INSTALL} ${SXMLRPC_DYLIB} ${libdir}; \
69
-	  (cd ${libdir}; ${LN_S} ${SXMLRPC_DYLIB} ${SXMLRPC_DLIB}); \
70
+	  ${INSTALL} ${SXMLRPC_DYLIB} ${DESTDIR}${libdir}; \
71
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_DYLIB} ${SXMLRPC_DLIB}); \
72
 	fi
73
-	${INSTALL_DATA} ${SXMLRPC_HDR} ${includedir}
74
+	${INSTALL_DATA} ${SXMLRPC_HDR} ${DESTDIR}${includedir}
75
 
76
 check-dirs::
77
-	@if [ ! -d ${prefix}     ]; then ${MKDIR} ${prefix};     fi
78
-	@if [ ! -d ${libdir}     ]; then ${MKDIR} ${libdir};     fi
79
-	@if [ ! -d ${includedir} ]; then ${MKDIR} ${includedir}; fi
80
+	@if [ ! -d ${prefix}     ]; then ${MKDIR} ${DESTDIR}${prefix};     fi
81
+	@if [ ! -d ${libdir}     ]; then ${MKDIR} ${DESTDIR}${libdir};     fi
82
+	@if [ ! -d ${includedir} ]; then ${MKDIR} ${DESTDIR}${includedir}; fi
83
 
84
 ###############################################################################
85
 
11
 

Return to bug 270963