Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 13:42:36 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531606 - head/math/lrcalc
Message-ID:  <202004131342.03DDgaxd086971@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Mon Apr 13 13:42:36 2020
New Revision: 531606
URL: https://svnweb.freebsd.org/changeset/ports/531606

Log:
  Force local headers.

Modified:
  head/math/lrcalc/Makefile

Modified: head/math/lrcalc/Makefile
==============================================================================
--- head/math/lrcalc/Makefile	Mon Apr 13 13:23:20 2020	(r531605)
+++ head/math/lrcalc/Makefile	Mon Apr 13 13:42:36 2020	(r531606)
@@ -3,6 +3,7 @@
 
 PORTNAME=	lrcalc
 PORTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	https://sites.math.rutgers.edu/~asbuch/lrcalc/
 
@@ -16,6 +17,14 @@ USES=		libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
+INCL2FIX=	lrcalc.c maple.c schublib.h symfcn.c symfcn.h
+
 TEST_TARGET=	check
+
+pre-configure:
+.for i in ${INCL2FIX}
+	${REINPLACE_CMD} -e 's|<vectarg.h>|"vectarg.h"|;s|<vector.h>|"vector.h"|'	\
+		-e 's|<hashtab.h>|"hashtab.h"|;s|<alloc.h>|"alloc.h"|' ${WRKSRC}/src/${i}
+.endfor
 
 .include <bsd.port.mk>



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