svn commit: r531606 - head/math/lrcalc

Thierry Thomas thierry at FreeBSD.org
Mon Apr 13 13:42:36 UTC 2020


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>


More information about the svn-ports-head mailing list