svn commit: r327063 - head/math/biggles

Boris Samorodov bsam at FreeBSD.org
Thu Sep 12 13:38:36 UTC 2013


Author: bsam
Date: Thu Sep 12 13:38:36 2013
New Revision: 327063
URL: http://svnweb.freebsd.org/changeset/ports/327063

Log:
  . fix build with clang;  [1]
  . trim Makefile headers;
  . use new LIB_DEPENDS syntax;
  . convert USE_GMAKE to modern USES statement.
  
  Reported by:	Roman Cat <roman-cat at yandex.ru> (at freebsd-ports@)  [1]

Modified:
  head/math/biggles/Makefile

Modified: head/math/biggles/Makefile
==============================================================================
--- head/math/biggles/Makefile	Thu Sep 12 13:33:00 2013	(r327062)
+++ head/math/biggles/Makefile	Thu Sep 12 13:38:36 2013	(r327063)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for:	biggles
-# Date created:			Nov 25, 2001
-# Whom:				ijliao
-#
+# Created by: ijliao
 # $FreeBSD$
-#
 
 PORTNAME=	biggles
 PORTVERSION=	1.6.6
@@ -19,15 +14,18 @@ COMMENT=	Create publication-quality 2D s
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	${PYNUMPY}
-LIB_DEPENDS=	plot:${PORTSDIR}/graphics/plotutils
+LIB_DEPENDS=	libplot.so:${PORTSDIR}/graphics/plotutils
 
+USES=		gmake
 USE_PYTHON=	yes
-USE_GMAKE=	yes
 MAKE_ARGS=	CC="${CC}" \
 		CFLAGS="${CFLAGS} -fPIC" \
 		LIBPLOT_CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBPLOT_LDFLAGS="-L${LOCALBASE}/lib -lplot"
 
+post-patch:
+	@${REINPLACE_CMD} -e '/CC/s,gcc,$$\{CC\},' ${WRKSRC}/make.inc
+
 pre-build:
 	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
 	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}


More information about the svn-ports-head mailing list