pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/fftw2 Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d356fe8ecb7
branches:  trunk
changeset: 469051:2d356fe8ecb7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 19 11:11:31 2004 +0000

description:
Convert to buildlink3.

diffstat:

 math/fftw2/Makefile      |   3 ++-
 math/fftw2/buildlink3.mk |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r ec0b1bbe155d -r 2d356fe8ecb7 math/fftw2/Makefile
--- a/math/fftw2/Makefile       Thu Feb 19 11:01:17 2004 +0000
+++ b/math/fftw2/Makefile       Thu Feb 19 11:11:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/24 13:58:23 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/02/19 11:11:31 wiz Exp $
 
 DISTNAME=              fftw-2.1.5
 PKGNAME=               fftw2-2.1.5
@@ -15,6 +15,7 @@
 .if ${MACHINE_ARCH} == "i386"
 CONFIGURE_ARGS+=       --enable-i386-hacks
 .endif
+USE_BUILDLINK3=                yes
 USE_FORTRAN=           yes
 USE_GNU_TOOLS+=                make
 USE_MAKEINFO=          yes
diff -r ec0b1bbe155d -r 2d356fe8ecb7 math/fftw2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/fftw2/buildlink3.mk  Thu Feb 19 11:11:31 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 11:11:31 wiz Exp $
+#
+# This Makefile fragment is included by packages that use fftw2.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+FFTW2_BUILDLINK3_MK:=  ${FFTW2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    fftw2
+.endif
+
+.if !empty(FFTW2_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   fftw2
+BUILDLINK_DEPENDS.fftw2+=              fftw2>=2.1.3
+BUILDLINK_PKGSRCDIR.fftw2?=            ../../math/fftw2
+
+.endif # FFTW2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index