diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-01-25 16:46:40 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-01-25 16:46:40 +0000 |
commit | c361f92abc4dcbfcbc593d7e09ff5f39e123e1b1 (patch) | |
tree | c7a32f9b55c3775bb028258ccff08d2879e1a703 /textproc/ssddiff | |
parent | d0300e40174c39215867ab2b4d08b820b2e50842 (diff) | |
download | ports-c361f92abc4dcbfcbc593d7e09ff5f39e123e1b1.tar.gz ports-c361f92abc4dcbfcbc593d7e09ff5f39e123e1b1.zip |
Notes
Diffstat (limited to 'textproc/ssddiff')
-rw-r--r-- | textproc/ssddiff/Makefile | 23 | ||||
-rw-r--r-- | textproc/ssddiff/files/patch-src__rel_count.h | 10 | ||||
-rw-r--r-- | textproc/ssddiff/files/patch-src__ustring.h | 10 |
3 files changed, 34 insertions, 9 deletions
diff --git a/textproc/ssddiff/Makefile b/textproc/ssddiff/Makefile index e70eeb837fac..2c8db5620eb8 100644 --- a/textproc/ssddiff/Makefile +++ b/textproc/ssddiff/Makefile @@ -8,23 +8,28 @@ CATEGORIES= textproc MASTER_SITES= http://alioth.debian.org/frs/download.php/1469/ MAINTAINER= ports@FreeBSD.org -COMMENT= A diff application for semistructured data such as XML files +COMMENT= Diff application for semistructured data such as XML files + +LICENSE= GPLv2 # (or later) -USE_AUTOTOOLS= automake14 USE_BZIP2= yes USES= pkgconfig -USE_GNOME= libxml2 -MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ - CPPFLAGS="-I${LOCALBASE}/include \ - -I${LOCALBASE}/include/libxml2" +USE_GNOME= libxml2 +USE_GCC= any +USE_AUTOTOOLS= automake14 + PLIST_FILES= bin/xmldiff -NO_STAGE= yes post-extract: + @${FIND} ${WRKSRC} -type l -delete + +post-patch: .for f in config.guess config.sub install-sh missing mkinstalldirs @${LN} -sf ${AUTOMAKE_DIR}/${f} ${WRKSRC}/${f} .endfor - @${REINPLACE_CMD} -e 's,"getopt\.h",<unistd.h>,' \ - ${WRKSRC}/src/main.cc + @${REINPLACE_CMD} -e \ + 's|^CXXFLAGS|AM_CPPFLAGS|' ${WRKSRC}/src/Makefile.am + @${REINPLACE_CMD} -e \ + 's|"getopt\.h"|<unistd.h>|' ${WRKSRC}/src/main.cc .include <bsd.port.mk> diff --git a/textproc/ssddiff/files/patch-src__rel_count.h b/textproc/ssddiff/files/patch-src__rel_count.h new file mode 100644 index 000000000000..691d6c8416f6 --- /dev/null +++ b/textproc/ssddiff/files/patch-src__rel_count.h @@ -0,0 +1,10 @@ +--- src/rel_count.h.orig ++++ src/rel_count.h +@@ -13,6 +13,7 @@ + #define SSD_REL_COUNT_H + #include "config.h" + #include "rel_eqclass.h" ++#include <climits> + #include <vector> + #include <ext/hash_map> + diff --git a/textproc/ssddiff/files/patch-src__ustring.h b/textproc/ssddiff/files/patch-src__ustring.h new file mode 100644 index 000000000000..fca819b55c54 --- /dev/null +++ b/textproc/ssddiff/files/patch-src__ustring.h @@ -0,0 +1,10 @@ +--- src/ustring.h.orig ++++ src/ustring.h +@@ -14,6 +14,7 @@ + + #include "config.h" + ++#include <cstring> + #include <iostream> + #include <map> + #include <ext/hash_map> |