View | Details | Raw Unified | Return to bug 223675 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-8 / +6 lines)
Lines 2-24 Link Here
2
# $FreeBSD: head/textproc/sxml/Makefile 371558 2014-10-27 12:15:44Z marino $
2
# $FreeBSD: head/textproc/sxml/Makefile 371558 2014-10-27 12:15:44Z marino $
3
3
4
PORTNAME=	sxml
4
PORTNAME=	sxml
5
PORTVERSION=	1.0.6
5
PORTVERSION=	1.0.7
6
CATEGORIES=	textproc
6
CATEGORIES=	textproc
7
MASTER_SITES=	http://www.MysticWALL.COM/download/
7
MASTER_SITES=	http://www.MysticWALL.COM/download/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	takefu@airport.fm
10
COMMENT=	Skimpy XML parsing and grafting library for C language
10
COMMENT=	Skimpy XML parsing and grafting library for C language
11
11
12
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD2CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
USES=		tar:bzip2
16
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
17
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USES=		tar:bzip2
18
18
19
MAKE_JOBS_UNSAFE=	yes
19
do-test:	build
20
20
	cd ${BUILD_WRKSRC}/examples && ${MAKE} all
21
post-install:
22
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsxml*.so
23
21
24
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)./distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (sxml-1.0.6.tar.bz2) = e26a960bd6c24021dd83c4da4d2a8006ed3b92e0a9ac85b17358e473000260d0
1
TIMESTAMP = 1497916868
2
SIZE (sxml-1.0.6.tar.bz2) = 82316
2
SHA256 (sxml-1.0.7.tar.bz2) = b7ed703252976074488044e49de070bc01a9f3eff7633c772dac05f089825470
3
SIZE (sxml-1.0.7.tar.bz2) = 83491
(-)./files/patch-Makefile.in (-9 / +9 lines)
Lines 1-6 Link Here
1
--- Makefile.in.orig
1
--- Makefile.in.orig	2010-03-26 07:56:17 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -30,11 +30,11 @@
3
@@ -30,11 +30,11 @@ CTAGS=@CTAGS@
4
 EDITOR=@EDITOR@
4
 EDITOR=@EDITOR@
5
 
5
 
6
 INSTALL=@INSTALL@
6
 INSTALL=@INSTALL@
Lines 9-20 Link Here
9
 INSTALL_DATA=@INSTALL_DATA@
9
 INSTALL_DATA=@INSTALL_DATA@
10
 
10
 
11
 DEFS= @DEFS@
11
 DEFS= @DEFS@
12
-OPTS= -fforce-mem -fforce-addr -fstrength-reduce -funroll-loops -finline-functions
12
-OPTS= -fforce-addr -fstrength-reduce -funroll-loops -finline-functions
13
+OPTS= -fstrength-reduce -funroll-loops -finline-functions
13
+OPTS= -fstrength-reduce -funroll-loops -finline-functions
14
 CPPFLAGS= -I@srcdir@
14
 CPPFLAGS= -I@srcdir@
15
 CFLAGS= ${DEFS} ${CPPFLAGS} ${OPTS} @CFLAGS@
15
 CFLAGS= ${DEFS} ${CPPFLAGS} ${OPTS} @CFLAGS@
16
 
16
 
17
@@ -121,43 +121,43 @@
17
@@ -121,43 +121,43 @@ libsxmlrpc.dylib: ${SXMLRPC_SOBJ}
18
 install:: check-dirs install-libsxml install-libsxmlrpc
18
 install:: check-dirs install-libsxml install-libsxmlrpc
19
 
19
 
20
 install-libsxml::
20
 install-libsxml::
Lines 33-39 Link Here
33
 	if [ -f ${SXML_SLIB} ]; then \
33
 	if [ -f ${SXML_SLIB} ]; then \
34
-	  ${INSTALL} ${SXML_SLIB} ${libdir}; \
34
-	  ${INSTALL} ${SXML_SLIB} ${libdir}; \
35
-	  (cd ${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
35
-	  (cd ${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
36
+	  ${INSTALL} ${SXML_SLIB} ${DESTDIR}${libdir}; \
36
+	  ${INSTALL_PROGRAM} ${SXML_SLIB} ${DESTDIR}${libdir}; \
37
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
37
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
38
 	fi
38
 	fi
39
 	if [ -f ${SXML_DYLIB} ]; then \
39
 	if [ -f ${SXML_DYLIB} ]; then \
Lines 61-67 Link Here
61
 	if [ -f ${SXMLRPC_SLIB} ]; then \
61
 	if [ -f ${SXMLRPC_SLIB} ]; then \
62
-	  ${INSTALL} ${SXMLRPC_SLIB} ${libdir}; \
62
-	  ${INSTALL} ${SXMLRPC_SLIB} ${libdir}; \
63
-	  (cd ${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
63
-	  (cd ${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
64
+	  ${INSTALL} ${SXMLRPC_SLIB} ${DESTDIR}${libdir}; \
64
+	  ${INSTALL_PROGRAM} ${SXMLRPC_SLIB} ${DESTDIR}${libdir}; \
65
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
65
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
66
 	fi
66
 	fi
67
 	if [ -f ${SXMLRPC_DYLIB} ]; then \
67
 	if [ -f ${SXMLRPC_DYLIB} ]; then \
Lines 77-85 Link Here
77
-	@if [ ! -d ${prefix}     ]; then ${MKDIR} ${prefix};     fi
77
-	@if [ ! -d ${prefix}     ]; then ${MKDIR} ${prefix};     fi
78
-	@if [ ! -d ${libdir}     ]; then ${MKDIR} ${libdir};     fi
78
-	@if [ ! -d ${libdir}     ]; then ${MKDIR} ${libdir};     fi
79
-	@if [ ! -d ${includedir} ]; then ${MKDIR} ${includedir}; fi
79
-	@if [ ! -d ${includedir} ]; then ${MKDIR} ${includedir}; fi
80
+	@if [ ! -d ${DESTDIR}${prefix}     ]; then ${MKDIR} ${DESTDIR}${prefix};     fi
80
+	@if [ ! -d ${prefix}     ]; then ${MKDIR} ${DESTDIR}${prefix};     fi
81
+	@if [ ! -d ${DESTDIR}${libdir}     ]; then ${MKDIR} ${DESTDIR}${libdir};     fi
81
+	@if [ ! -d ${libdir}     ]; then ${MKDIR} ${DESTDIR}${libdir};     fi
82
+	@if [ ! -d ${DESTDIR}${includedir} ]; then ${MKDIR} ${DESTDIR}${includedir}; fi
82
+	@if [ ! -d ${includedir} ]; then ${MKDIR} ${DESTDIR}${includedir}; fi
83
 
83
 
84
 ###############################################################################
84
 ###############################################################################
85
 
85
 
(-)./files/patch-examples_Makefile.in (+11 lines)
Line 0 Link Here
1
--- examples/Makefile.in.orig	2008-02-05 14:03:37 UTC
2
+++ examples/Makefile.in
3
@@ -34,7 +34,7 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ -s
4
 INSTALL_DATA=@INSTALL_DATA@
5
 
6
 DEFS= @DEFS@
7
-OPTS= -fforce-mem -fforce-addr -fstrength-reduce -funroll-loops -finline-functions
8
+OPTS= -fstrength-reduce -funroll-loops -finline-functions
9
 CPPFLAGS= -I.. -L..
10
 CFLAGS= ${DEFS} ${CPPFLAGS} ${OPTS} @CFLAGS@
11
 
(-)./pkg-descr (-2 / +3 lines)
Lines 1-4 Link Here
1
SXML is a skimpy XML parsing and grafting C library that you can use
1
SXML is a skimpy XML parsing and grafting C library that you can use to read
2
to read and write XML-like configuration file for your application.
2
and write XML-like configuration file for your application.
3
3
4
Author:	Kouichi ABE (WALL) <kouichi@MysticWALL.COM>
4
WWW: http://www.MysticWALL.COM/software/sxml/index.html
5
WWW: http://www.MysticWALL.COM/software/sxml/index.html

Return to bug 223675