svn commit: r528220 - head/math/oleo

Baptiste Daroussin bapt at FreeBSD.org
Wed Mar 11 08:27:34 UTC 2020


Author: bapt
Date: Wed Mar 11 08:27:30 2020
New Revision: 528220
URL: https://svnweb.freebsd.org/changeset/ports/528220

Log:
  Cleanup
  
  - Use base byacc instead of GNU bison
  - Prevent the detection of makeinfo which would otherwise trigger a rebuild
    of the texinfo documentation which is not compatible with recent texinfo
  - Remove a useless sed command, passing DESTDIR in argument of make(1) is enough
    to override the makefile definition

Modified:
  head/math/oleo/Makefile

Modified: head/math/oleo/Makefile
==============================================================================
--- head/math/oleo/Makefile	Wed Mar 11 08:26:04 2020	(r528219)
+++ head/math/oleo/Makefile	Wed Mar 11 08:27:30 2020	(r528220)
@@ -13,12 +13,14 @@ COMMENT=	GNU spreadsheet for X11 and terminals
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		bison localbase ncurses perl5
+USES=		bison:alias localbase ncurses perl5
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-x --without-xlt --without-SciPlot
-MAKE_ENV+=	DESTDIR=${STAGEDIR}
+MAKE_ARGS+=	DESTDIR="${STAGEDIR}"
 
+BINARY_ALIAS=	makeinfo=false # disable detecting local makeinfo
+
 INFO=		oleo
 
 OPTIONS_DEFINE=	MOTIF NLS
@@ -40,8 +42,6 @@ NLS_USES_OFF=		gettext-tools
 post-patch:
 	@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
 		's|malloc\.h|stdlib.h|g'
-	@${REINPLACE_CMD} -e '/^DESTDIR/s|=|?=|' \
-	    ${WRKSRC}/Makefile.in
 .for pof in en fr nl
 	@${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|;s|ENCODING|8bit|"	\
 		${WRKSRC}/po/${pof}.po


More information about the svn-ports-head mailing list