Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2018 08:58:06 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481331 - head/graphics/raster3d
Message-ID:  <201810060858.w968w6wm080047@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Oct  6 08:58:06 2018
New Revision: 481331
URL: https://svnweb.freebsd.org/changeset/ports/481331

Log:
  graphics/raster3d: Fix dependencies: it wasn't using dependencies before
  
  Makefile.incl was generated in the same 'make' run as build and was ignored by 'make'.
  Separating its generation and use makes raster3d to use dependencies.

Modified:
  head/graphics/raster3d/Makefile

Modified: head/graphics/raster3d/Makefile
==============================================================================
--- head/graphics/raster3d/Makefile	Sat Oct  6 08:52:38 2018	(r481330)
+++ head/graphics/raster3d/Makefile	Sat Oct  6 08:58:06 2018	(r481331)
@@ -3,6 +3,7 @@
 
 PORTNAME=	raster3d
 DISTVERSION=	3.0.3
+PORTREVISION=	1
 CATEGORIES=	graphics biology
 MASTER_SITES=	http://skuld.bmsc.washington.edu/${PORTNAME}/
 DISTNAME=	Raster3D_${DISTVERSION:R}-${DISTVERSION:E}
@@ -19,7 +20,6 @@ USES=		fortran
 MAKE_ARGS=	INCDIRS="-I${LOCALBASE}/include" LIBDIRS="-L${LOCALBASE}/lib" \
 		CC="${CC}" CFLAGS="${CFLAGS}" FC="${FC}" FFLAGS="${FFLAGS}" \
 		RM="${RM}" OS="${OPSYS}"
-ALL_TARGET=	linux all
 MAKE_JOBS_UNSAFE=	yes
 
 CFLAGS+=	-DLINUX -DNETWORKBYTEORDER -Dgfortran
@@ -33,6 +33,9 @@ OPTIONS_DEFAULT=IMAGEMAGICK
 OPTIONS_SUB=		yes
 
 IMAGEMAGICK_RUN_DEPENDS=	convert:graphics/ImageMagick
+
+pre-build: # generation of Makefile.incl has to be separate from 'make all', otherwise the generated Makefile.incl isn't read by 'make all'
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} linux
 
 do-install:
 .for f in avs2ps balls normal3d rastep render ribbon rings3d rods



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