diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-05 17:45:36 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-05 17:45:36 +0800 |
commit | 1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184 (patch) | |
tree | 96cc94ba02edcc043c52eb3f26adbc632bbe44d8 /math | |
parent | d8575795a2106dcbddc552f756cb3916f113f9e0 (diff) | |
download | freebsd-ports-gnome-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.tar.gz freebsd-ports-gnome-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.tar.zst freebsd-ports-gnome-1fa39fd2c3d6f5edbc6d4a9d6f9ceae142a0f184.zip |
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr
Diffstat (limited to 'math')
-rw-r--r-- | math/GiNaC/Makefile | 2 | ||||
-rw-r--r-- | math/R/Makefile | 2 | ||||
-rw-r--r-- | math/atlas/Makefile | 18 | ||||
-rw-r--r-- | math/cblas/Makefile | 8 | ||||
-rw-r--r-- | math/jsmath/Makefile | 2 | ||||
-rw-r--r-- | math/jts/Makefile | 2 | ||||
-rw-r--r-- | math/kash3/Makefile | 8 | ||||
-rw-r--r-- | math/lapack/Makefile | 8 | ||||
-rw-r--r-- | math/libflame/Makefile | 6 | ||||
-rw-r--r-- | math/libmissing/Makefile | 2 | ||||
-rw-r--r-- | math/ogdf/Makefile | 2 | ||||
-rw-r--r-- | math/parmetis/Makefile | 2 | ||||
-rw-r--r-- | math/petsc/Makefile | 2 | ||||
-rw-r--r-- | math/scalapack/Makefile | 4 | ||||
-rw-r--r-- | math/vtk6/Makefile | 2 |
15 files changed, 35 insertions, 35 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile index 4bcc2ae3d06a..2aaa5b2a4145 100644 --- a/math/GiNaC/Makefile +++ b/math/GiNaC/Makefile @@ -6,7 +6,7 @@ PORTVERSION= 1.6.2 CATEGORIES= math MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \ http://www.ginac.de/ -DISTNAME= ${PORTNAME:L}-${PORTVERSION} +DISTNAME= ${PORTNAME:tl}-${PORTVERSION} MAINTAINER= stephen@FreeBSD.org COMMENT= C++ library for symbolic mathematical calculations diff --git a/math/R/Makefile b/math/R/Makefile index c899d221ce40..554c189d2cd9 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -369,7 +369,7 @@ check-all: build post-install: .for L in R Rblas Rlapack @(cd ${STAGEDIR}${PREFIX}/lib/R/lib; if [ -f lib${L}.so ] ; then \ - ${LN} -sf lib${L}.so lib${L}.so.${${L:U}_SOVERSION} ; fi) + ${LN} -sf lib${L}.so lib${L}.so.${${L:tu}_SOVERSION} ; fi) .endfor .if ${PORT_OPTIONS:MINFO_MANUALS} && ${PORT_OPTIONS:MDOCS} @(cd ${WRKSRC}/doc/manual; \ diff --git a/math/atlas/Makefile b/math/atlas/Makefile index b5ba211c8c51..f60b501d8590 100644 --- a/math/atlas/Makefile +++ b/math/atlas/Makefile @@ -150,13 +150,13 @@ post-configure: do-build: .for opt in shared static -. if ${PORT_OPTIONS:M${opt:U}} +. if ${PORT_OPTIONS:M${opt:tu}} @${ECHO_CMD} "Building the LAPACK archives with ${opt} ATLAS flags:" F77FLAGS="`${MAKE} -f ${WRKSRC}/saved_flags -V F77FLAGS` ${EXTRA_FFLAGS}" ; \ - LW=`${MAKE} -C ${PORTSDIR}/math/lapack -V ${${opt:U}_LAPACK_WRKSRC}` ; \ - ${MAKE} -C ${PORTSDIR}/math/lapack WITH_${opt:U}=yes \ + LW=`${MAKE} -C ${PORTSDIR}/math/lapack -V ${${opt:tu}_LAPACK_WRKSRC}` ; \ + ${MAKE} -C ${PORTSDIR}/math/lapack WITH_${opt:tu}=yes \ clean patch ; \ - cd $${LW} ; ${SETENV} ${MAKE_ENV:NFFLAGS=*} EXTRAFLAGS="${${opt:U}_FLAGS}" \ + cd $${LW} ; ${SETENV} ${MAKE_ENV:NFFLAGS=*} EXTRAFLAGS="${${opt:tu}_FLAGS}" \ FFLAGS="-pipe $${F77FLAGS}" ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \ ARCH="${AR}" lapacklib ; \ TIMEFLAG=`${MAKE} -f ${WRKSRC}/saved_flags -V TIMEFLAG` ; \ @@ -168,7 +168,7 @@ do-build: --with-netlib-lapack="${WRKSRC}/${opt}/liblapack_${opt}.a" \ --prefix="${PREFIX}" -v 2 $${TIMEFLAG} ${ARCHDEFFLAG} \ -Ss f77lib " " -Ss pmake "${MAKE} ${_MAKE_JOBS}" \ - -Fa alg "${${opt:U}_FLAGS} " -b ${POINTER} ; \ + -Fa alg "${${opt:tu}_FLAGS} " -b ${POINTER} ; \ if [ "x${WITH_ARCHDEF}" != "x" ] ; then \ if [ "x${ARCHDEF}" != "xNONE" ] ; then \ if [ -f ${ARCHDEF} ] ; then \ @@ -194,7 +194,7 @@ L2= -Wl,--no-whole-archive -Wl,--as-needed ${PTHREAD_LIBS} post-build: .for opt in shared static -. if ${PORT_OPTIONS:M${opt:U}} +. if ${PORT_OPTIONS:M${opt:tu}} @${ECHO_CMD} "Timing ${opt} ATLAS:" @cd ${WRKSRC}/${opt} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} time ; \ cd ARCHS ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ArchNew tarfile @@ -218,9 +218,9 @@ SHARED_BLAS= -L${LOCALBASE}/lib -lblas check regression-test test: build . for opt in shared static -. if ${PORT_OPTIONS:M${opt:U}} +. if ${PORT_OPTIONS:M${opt:tu}} @${ECHO_CMD} "Testing ${opt} ATLAS:" - @cd ${WRKSRC}/${opt} ; ${SETENV} ${MAKE_ENV} BLAS="${${opt:U}_BLAS}" \ + @cd ${WRKSRC}/${opt} ; ${SETENV} ${MAKE_ENV} BLAS="${${opt:tu}_BLAS}" \ ${MAKE} ${MAKE_ARGS} check ptcheck error_report . endif . endfor @@ -240,7 +240,7 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/include/cblas.h ${PREFIX}/include @${INSTALL_DATA} ${WRKSRC}/include/clapack.h ${PREFIX}/include .for opt in shared static -. if ${PORT_OPTIONS:M${opt:U}} +. if ${PORT_OPTIONS:M${opt:tu}} @${MKDIR} ${PREFIX}/include/atlas/${opt} @${INSTALL_DATA} ${WRKSRC}/${opt}/include/* ${PREFIX}/include/atlas/${opt} @cd ${PREFIX} ; \ diff --git a/math/cblas/Makefile b/math/cblas/Makefile index c155b7905c84..8b4a250f5e32 100644 --- a/math/cblas/Makefile +++ b/math/cblas/Makefile @@ -83,9 +83,9 @@ post-patch: do-build: build-profile build-shared build-static .for o in PROFILE SHARED STATIC -build-${o:L}: patch +build-${o:tl}: patch .if ${PORT_OPTIONS:M${o}} - @${PRINTF} "\n\nBuilding ${o:L} libraries:\n\n\n" + @${PRINTF} "\n\nBuilding ${o:tl} libraries:\n\n\n" @cd ${WRKSRC_${o}}/src; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FLAGS_${o}}" \ ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all @@ -107,9 +107,9 @@ MAKE_ENV+= BLLIB="${BLAS}" check regression-test test: ${TESTS} .for o in PROFILE SHARED STATIC -test-${o:L}: build-${o:L} +test-${o:tl}: build-${o:tl} .if ${PORT_OPTIONS:M${o}} - @${PRINTF} "\n\nTesting ${o:L} libraries:\n\n\n" + @${PRINTF} "\n\nTesting ${o:tl} libraries:\n\n\n" @cd ${WRKSRC_${o}}/testing; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FLAGS_${o}}" \ ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all run @${CAT} ${WRKSRC_${o}}/testing/*.out diff --git a/math/jsmath/Makefile b/math/jsmath/Makefile index 7498d7a54079..f760437fa380 100644 --- a/math/jsmath/Makefile +++ b/math/jsmath/Makefile @@ -4,7 +4,7 @@ PORTNAME= jsMath DISTVERSION= 3.6e CATEGORIES= math www -MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${DISTVERSION} +MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${DISTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= JavaScript tool for including mathematics in web pages diff --git a/math/jts/Makefile b/math/jts/Makefile index b8835257488a..0387ce90add4 100644 --- a/math/jts/Makefile +++ b/math/jts/Makefile @@ -18,7 +18,7 @@ NO_BUILD= yes USE_JAVA= yes NO_WRKSUBDIR= yes -VER= ${PORTVERSION:L} +VER= ${PORTVERSION:tl} JARFILES= JTS_Test acme jts-${VER} NO_STAGE= yes diff --git a/math/kash3/Makefile b/math/kash3/Makefile index c957c6d4ff98..d455933361cb 100644 --- a/math/kash3/Makefile +++ b/math/kash3/Makefile @@ -6,7 +6,7 @@ PORTVERSION= 2008.07.31 CATEGORIES= math MASTER_SITES= ftp://ftp.math.tu-berlin.de/pub/algebra/Kant/Kash_3/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/ -DISTFILES= ${PORTNAME:U}-${ELFTYPE}-i686-${PORTVERSION:S|.|-|g}.tar.bz2 +DISTFILES= ${PORTNAME:tu}-${ELFTYPE}-i686-${PORTVERSION:S|.|-|g}.tar.bz2 MAINTAINER= nivit@FreeBSD.org COMMENT= A computer algebra system for computing in algebraic number fields @@ -26,7 +26,7 @@ USE_BZIP2= yes USE_LINUX= yes SUB_FILES= ${PORTNAME} -WRKSRC= ${WRKDIR}/${PORTNAME:U}-${ELFTYPE}-i686-${PORTVERSION:S|.|-|g} +WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${ELFTYPE}-i686-${PORTVERSION:S|.|-|g} FIND_DATA= -type f -mindepth 1 -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; @@ -44,7 +44,7 @@ LN_OPTS= -sf ELFTYPE= Linux .if ${PORT_OPTIONS:MOPTLIB} -DISTFILES+= ${PORTNAME:U}-lib-archindep-${PORTVERSION:S|.|-|g}.tar.bz2 +DISTFILES+= ${PORTNAME:tu}-lib-archindep-${PORTVERSION:S|.|-|g}.tar.bz2 OPTLIB= .else OPTLIB= "@comment " @@ -53,7 +53,7 @@ OPTLIB= "@comment " do-install: ${MKDIR} ${DATADIR}; .if ${PORT_OPTIONS:MOPTLIB} - cd ${WRKDIR}/${PORTNAME:U}-lib-archindep-${PORTVERSION:S|.|-|g}; \ + cd ${WRKDIR}/${PORTNAME:tu}-lib-archindep-${PORTVERSION:S|.|-|g}; \ ${COPYTREE_SHARE} . ${DATADIR} .endif cd ${WRKSRC}; \ diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 23755a8d4f88..3fa3e1b2c87f 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -117,9 +117,9 @@ post-patch: do-build: ${MAN_TARGET} build-profile build-shared build-static .for o in PROFILE SHARED STATIC -build-${o:L}: patch +build-${o:tl}: patch .if ${PORT_OPTIONS:M${o}} - ${PRINTF} "\n\nBuilding ${o:L} libraries:\n\n\n" + ${PRINTF} "\n\nBuilding ${o:tl} libraries:\n\n\n" cd ${WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FFLAGS_${o}}" \ ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} ARCH="${AR}" ${ALL_TARGET} @@ -153,9 +153,9 @@ TESTS ?= test-profile check regression-test test: ${TESTS} .for o in PROFILE SHARED STATIC -test-${o:L}: build-${o:L} +test-${o:tl}: build-${o:tl} .if ${PORT_OPTIONS:M${o}} - @${PRINTF} "\n\nTesting ${o:L} libraries:\n\n\n" + @${PRINTF} "\n\nTesting ${o:tl} libraries:\n\n\n" @cd ${WRKSRC_${o}}; ${SETENV} ${MAKE_ENV} EXTRAFLAGS="${FFLAGS_${o}}" \ ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} ARCH="${AR}" ${TEST_TARGET} .if defined(BLAS_SLAVEPORT) diff --git a/math/libflame/Makefile b/math/libflame/Makefile index 3bcbfe988305..e2f374398940 100644 --- a/math/libflame/Makefile +++ b/math/libflame/Makefile @@ -86,7 +86,7 @@ WITH_BLAS= gotoblas CONFIGURE_ARGS+= --disable-goto-interfaces .for b in M K N .if defined(${b}_BLOCKSIZE) -CONFIGURE_ARGS+= --enable-default-${b:L}-blocksize=${${b}_BLOCKSIZE} +CONFIGURE_ARGS+= --enable-default-${b:tl}-blocksize=${${b}_BLOCKSIZE} .endif .endfor .endif @@ -295,7 +295,7 @@ post-configure: do-build: .for o in SHARED STATIC .if ${PORT_OPTIONS:M${o}} - @${PRINTF} "\n\n\n===> Building ${o:L} library:\n\n\n\n" + @${PRINTF} "\n\n\n===> Building ${o:tl} library:\n\n\n\n" @cd ${WRKSRC}${o:S|^|_|:M*STATIC}; ${SETENV} ${MAKE_ENV} ${GMAKE} \ ${_MAKE_JOBS} ${MAKE_ARGS} libs .endif @@ -331,7 +331,7 @@ check regression-test test: build install-headers .for o in SHARED STATIC .if ${PORT_OPTIONS:M${o}} - @${PRINTF} "\n\n\n===> Testing ${o:L} library:\n\n\n\n" + @${PRINTF} "\n\n\n===> Testing ${o:tl} library:\n\n\n\n" @cd ${WRKSRC}${o:S|^|_|:M*STATIC}/test; ${SETENV} ${MAKE_ENV} \ ${GMAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \ LIBBLAS="-L${LOCALBASE}/lib ${BLAS} -lm" \ diff --git a/math/libmissing/Makefile b/math/libmissing/Makefile index 93f88bfeb187..fe248f712f18 100644 --- a/math/libmissing/Makefile +++ b/math/libmissing/Makefile @@ -75,7 +75,7 @@ check regression-test test: build LD_LIBRARY_PATH="/lib:/usr/lib:${LOCALBASE}/lib:${WRKSRC}" \ ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all3 .for t in d q s - @${PRINTF} "\n\n\n\t\t%s\n\n\n" "REPORT OF ${t:U}. PRECISION TEST RESULTS:" + @${PRINTF} "\n\n\n\t\t%s\n\n\n" "REPORT OF ${t:tu}. PRECISION TEST RESULTS:" @${CAT} ${WRKSRC}/c/${t}p/tall${t}p.lst-xxx .endfor diff --git a/math/ogdf/Makefile b/math/ogdf/Makefile index bed7b88dfecf..5bedc363feb9 100644 --- a/math/ogdf/Makefile +++ b/math/ogdf/Makefile @@ -22,7 +22,7 @@ USES= zip USE_LDCONFIG= yes USE_PYTHON= build -WRKSRC= ${WRKDIR}/${PORTNAME:U} +WRKSRC= ${WRKDIR}/${PORTNAME:tu} .include <bsd.port.options.mk> diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile index a51ce3630107..7acc7085a20b 100644 --- a/math/parmetis/Makefile +++ b/math/parmetis/Makefile @@ -7,7 +7,7 @@ PORTREVISION= 4 CATEGORIES= math parallel MASTER_SITES= http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/%SUBDIR%/ MASTER_SITE_SUBDIR= . OLD -DISTNAME= ${PORTNAME:L}-${PORTVERSION} +DISTNAME= ${PORTNAME:tl}-${PORTVERSION} MAINTAINER= bf@FreeBSD.org COMMENT= Package for parallel (mpi) unstructured graph partitioning diff --git a/math/petsc/Makefile b/math/petsc/Makefile index c60dce2d99f6..aa982c8634af 100644 --- a/math/petsc/Makefile +++ b/math/petsc/Makefile @@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --with-x-include=${LOCALBASE}/include \ USES= fortran FFLAGS+= -O2 PFX= ${PORTNAME} -TARGET= ${OPSYS:L} +TARGET= ${OPSYS:tl} PLIST_SUB= PFX=${PFX} TARGET=${TARGET} .if !defined(WITHOUT_UMFPACK) diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile index 96f320422def..88fedd033385 100644 --- a/math/scalapack/Makefile +++ b/math/scalapack/Makefile @@ -29,8 +29,8 @@ USES= fortran ARCH2FIX= PBLAS/SRC PBLAS/SRC/PBBLAS PBLAS/SRC/PTOOLS PBLAS/SRC/PTZBLAS \ REDIST/SRC SRC TOOLS TOOLS/LAPACK -DATADIR= ${PREFIX}/share/${PORTNAME:U} -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:U} +DATADIR= ${PREFIX}/share/${PORTNAME:tu} +EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:tu} PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message diff --git a/math/vtk6/Makefile b/math/vtk6/Makefile index a7b5ab2291ba..23b3b4805eaa 100644 --- a/math/vtk6/Makefile +++ b/math/vtk6/Makefile @@ -7,7 +7,7 @@ PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 6 -DISTNAME= ${PORTNAME:U}-${PORTVERSION} +DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= gahr@FreeBSD.org COMMENT= The Visualization Toolkit |