svn commit: r336933 - in head/textproc/diffmark: . files
Pawel Pekala
pawel at FreeBSD.org
Thu Dec 19 16:06:35 UTC 2013
Author: pawel
Date: Thu Dec 19 16:06:34 2013
New Revision: 336933
URL: http://svnweb.freebsd.org/changeset/ports/336933
Log:
- Fix build with clang
- Update MASTER_SITES
- Support staging
PR: ports/184819
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Added:
head/textproc/diffmark/files/
head/textproc/diffmark/files/patch-lib__diff.hh (contents, props changed)
Modified:
head/textproc/diffmark/Makefile (contents, props changed)
Modified: head/textproc/diffmark/Makefile
==============================================================================
--- head/textproc/diffmark/Makefile Thu Dec 19 16:01:34 2013 (r336932)
+++ head/textproc/diffmark/Makefile Thu Dec 19 16:06:34 2013 (r336933)
@@ -4,20 +4,25 @@
PORTNAME= diffmark
PORTVERSION= 0.10
CATEGORIES= textproc
-MASTER_SITES= http://www.mangrove.cz/diffmark/
+MASTER_SITES= http://www.mangrove.cz/diffmark/ \
+ http://penguin.cz/~vbarta/diffmark/
MAINTAINER= ports at FreeBSD.org
COMMENT= XML diff and merge package
-LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
-
USES= pkgconfig
-USE_LDCONFIG= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --with-libxml2-incldir=${LOCALBASE}/include/libxml2
+USE_GNOME= libxml2
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
-CFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|-lstdc++||' ${WRKSRC}/lib/Makefile.in
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdiffmark.so.2
+
.include <bsd.port.mk>
Added: head/textproc/diffmark/files/patch-lib__diff.hh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/diffmark/files/patch-lib__diff.hh Thu Dec 19 16:06:34 2013 (r336933)
@@ -0,0 +1,11 @@
+--- lib/diff.hh.orig 2013-12-07 05:09:56.000000000 +0900
++++ lib/diff.hh 2013-12-07 05:10:09.000000000 +0900
+@@ -13,7 +13,7 @@
+ template<>
+ struct less<xmlNodePtr>
+ {
+- bool operator()(xmlNodePtr m, xmlNodePtr n)
++ bool operator()(xmlNodePtr m, xmlNodePtr n) const
+ {
+ return compare(m, n, true) < 0;
+ }
More information about the svn-ports-head
mailing list