svn commit: r481331 - head/graphics/raster3d
Yuri Victorovich
yuri at FreeBSD.org
Sat Oct 6 08:58:07 UTC 2018
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
More information about the svn-ports-all
mailing list