svn commit: r369204 - head/textproc/ssddiff

Tijl Coosemans tijl at FreeBSD.org
Wed Sep 24 20:22:50 UTC 2014


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>


More information about the svn-ports-head mailing list