Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2014 20:22:49 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369204 - head/textproc/ssddiff
Message-ID:  <201409242022.s8OKMnQE081167@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Sep 24 20:22:49 2014
New Revision: 369204
URL: http://svnweb.freebsd.org/changeset/ports/369204
QAT: https://qat.redports.org/buildarchive/r369204/

Log:
  - Convert to USES=autoreconf
  - Support building with Clang

Modified:
  head/textproc/ssddiff/Makefile

Modified: head/textproc/ssddiff/Makefile
==============================================================================
--- head/textproc/ssddiff/Makefile	Wed Sep 24 20:09:49 2014	(r369203)
+++ head/textproc/ssddiff/Makefile	Wed Sep 24 20:22:49 2014	(r369204)
@@ -12,23 +12,23 @@ COMMENT=	Diff application for semistruct
 
 LICENSE=	GPLv2 # (or later)
 
-USES=		pkgconfig tar:bzip2
-USE_GNOME=	libxml2 
-USE_GCC=	any
-USE_AUTOTOOLS=	automake14
+GNU_CONFIGURE=	yes
+USES=		autoreconf pkgconfig tar:bzip2
+USE_GNOME=	libxml2
 
 PLIST_FILES=	bin/xmldiff
 
-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
+	@${FIND} ${WRKSRC} -type l -delete
 	@${REINPLACE_CMD} -e \
 		's|^CXXFLAGS|AM_CPPFLAGS|' ${WRKSRC}/src/Makefile.am
 	@${REINPLACE_CMD} -e \
 		's|"getopt\.h"|<unistd.h>|' ${WRKSRC}/src/main.cc
+	@${REINPLACE_CMD} \
+		-e 's/hash</__gnu_cxx::&/' -e 's/hash<char/& const/' \
+		${WRKSRC}/src/doc.h ${WRKSRC}/src/out_common.cc \
+		${WRKSRC}/src/out_merged.cc ${WRKSRC}/src/out_xupdate.cc \
+		${WRKSRC}/src/out_xupdate.h ${WRKSRC}/src/ustring.cc \
+		${WRKSRC}/src/ustring.h
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409242022.s8OKMnQE081167>