Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 12:48:56 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415438 - head/lang/swi-pl
Message-ID:  <201605181248.u4ICmuFo074142@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Wed May 18 12:48:55 2016
New Revision: 415438
URL: https://svnweb.freebsd.org/changeset/ports/415438

Log:
  Remove deprecated reference to malloc.h
  
  Reported by:	Nikolaj Thygesen

Modified:
  head/lang/swi-pl/Makefile

Modified: head/lang/swi-pl/Makefile
==============================================================================
--- head/lang/swi-pl/Makefile	Wed May 18 12:43:12 2016	(r415437)
+++ head/lang/swi-pl/Makefile	Wed May 18 12:48:55 2016	(r415438)
@@ -3,6 +3,7 @@
 
 PORTNAME=	swi-pl
 PORTVERSION=	7.2.3
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	http://www.swi-prolog.org/download/stable/src/
 DISTNAME=	swipl-${PORTVERSION}
@@ -13,9 +14,6 @@ COMMENT=	Edinburgh-style Prolog compiler
 LIB_DEPENDS=	libgmp.so:math/gmp \
 		libodbc.so:databases/unixODBC
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 SWIPLDIR=	${PORTNAME:C/-//}-${PORTVERSION}
 
 NOPRECIOUSMAKEVARS=	yes
@@ -67,6 +65,8 @@ post-patch:
 	@${REINPLACE_CMD} -e '/EXAMPLEEXE/s/INSTALL_PROGRAM/INSTALL_SCRIPT/' \
 		${WRKSRC}/packages/http/Makefile.in \
 		${WRKSRC}/packages/pldoc/Makefile.in
+	@${REINPLACE_CMD} -e 's/malloc\.h/stdlib.h/' \
+		${WRKSRC}/packages/cpp/SWI-cpp.h
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xpce-client \



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