Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2018 21:29:03 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464740 - in head/editors/hte: . files
Message-ID:  <201803162129.w2GLT32N054075@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Fri Mar 16 21:29:02 2018
New Revision: 464740
URL: https://svnweb.freebsd.org/changeset/ports/464740

Log:
  editors/hte: update to a snapshot of 2.1.1
  
  This fixes the build on FreeBSD 12 but breaks the build on FreeBSD 10.
  
  The source code is now retrieved from GitHub, as upstream moved to there.
  
  Mark MAKE_JOBS_UNSAFE and add some magic to get the build started.

Deleted:
  head/editors/hte/files/
Modified:
  head/editors/hte/Makefile
  head/editors/hte/distinfo

Modified: head/editors/hte/Makefile
==============================================================================
--- head/editors/hte/Makefile	Fri Mar 16 21:11:28 2018	(r464739)
+++ head/editors/hte/Makefile	Fri Mar 16 21:29:02 2018	(r464740)
@@ -2,10 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	hte
-PORTVERSION=	2.1.0
+PORTVERSION=	2.1.1.g20161206
 CATEGORIES=	editors
-MASTER_SITES=	SF/${PORTNAME}/ht-source
-DISTNAME=	ht-${PORTVERSION}
 
 MAINTAINER=	rene@FreeBSD.org
 COMMENT=	File editor/viewer/analyzer for executables
@@ -13,7 +11,13 @@ COMMENT=	File editor/viewer/analyzer for executables
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		ncurses tar:bzip2
+BROKEN_FreeBSD_10=	misgenerated yacc code
+
+USES=		autoreconf compiler:c++14-lang makeinfo ncurses tar:bzip2
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbiallas
+GH_PROJECT=	ht
+GH_TAGNAME=	e9e63373148da5d7df397d8075740d8c096ecb1d
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/hte
@@ -32,11 +36,12 @@ X11_USE=		XORG=x11
 X11_USES=		localbase:ldflags
 X11_CONFIGURE_ENABLE=	x11-textmode
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|^CXXFLAGS=.*$$|CXXFLAGS="$$CXXFLAGS"|g ; \
-		 s|^CFLAGS=.*$$|CFLAGS="$$CFLAGS"|g ; \
-		 s|-L/usr/X11/lib -L/usr/X11R6/lib|$$LDFLAGS|g' \
-			${WRKSRC}/configure
+MAKE_JOBS_UNSAFE=	yes
+
+pre-build:
+	${MAKE} -C ${WRKSRC}/tools
+	${MAKE} -C ${WRKSRC}/doc
+	${MAKE} -C ${WRKSRC} htdoc.h
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ht ${STAGEDIR}${PREFIX}/bin/hte

Modified: head/editors/hte/distinfo
==============================================================================
--- head/editors/hte/distinfo	Fri Mar 16 21:11:28 2018	(r464739)
+++ head/editors/hte/distinfo	Fri Mar 16 21:29:02 2018	(r464740)
@@ -1,2 +1,3 @@
-SHA256 (ht-2.1.0.tar.bz2) = 31f5e8e2ca7f85d40bb18ef518bf1a105a6f602918a0755bc649f3f407b75d70
-SIZE (ht-2.1.0.tar.bz2) = 884139
+TIMESTAMP = 1521235485
+SHA256 (sebastianbiallas-ht-2.1.1.g20161206-e9e63373148da5d7df397d8075740d8c096ecb1d_GH0.tar.gz) = 54f1848a180b8f4f7f9fc5a421201e25447f999680ca8f7e6fd976020c41b14d
+SIZE (sebastianbiallas-ht-2.1.1.g20161206-e9e63373148da5d7df397d8075740d8c096ecb1d_GH0.tar.gz) = 847045



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