summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-03-23 00:51:09 +0000
committerschmonz <schmonz@pkgsrc.org>2005-03-23 00:51:09 +0000
commite6d59391bf49cd935506fe6ea329df8376684448 (patch)
tree20ee7d90c6ddce888026ccc27abd5458b6b5361c /math
parent18999e366a279cf70503a70c994d30a37db6ce47 (diff)
downloadpkgsrc-e6d59391bf49cd935506fe6ea329df8376684448.tar.gz
Take advantage of mk/djbware.mk.
Diffstat (limited to 'math')
-rw-r--r--math/djbfft/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/math/djbfft/Makefile b/math/djbfft/Makefile
index 15d6a7a47f0..4736ac6a2e7 100644
--- a/math/djbfft/Makefile
+++ b/math/djbfft/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/03/13 03:25:44 schmonz Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/23 00:51:10 schmonz Exp $
DISTNAME= djbfft-0.76
CATEGORIES= math
@@ -8,25 +8,19 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://pobox.com/~djb/djbfft.html
COMMENT= Extremely fast library for floating-point convolution
-BUILD_TARGET=
-INSTALL_TARGET= setup check
-
USE_BUILDLINK3= yes
+DJB_RESTRICTED= YES
NOT_FOR_PLATFORM= IRIX-*-*
-do-configure:
- ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc
- ${ECHO} ${CC:Q} > ${WRKSRC}/conf-ld
- ${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
.ifdef(WITH_OPT_PENTIUM)
- ${ECHO} pentium > ${WRKSRC}/conf-opt
+DJB_CONFIG_CMDS=${ECHO} pentium > conf-opt
.endif
.ifdef(WITH_OPT_PPRO)
- @${ECHO} 'ppro' > ${WRKSRC}/conf-opt
+DJB_CONFIG_CMDS=${ECHO} ppro > conf-opt
.endif
.if (${MACHINE_ARCH} == "sparc")
- @${ECHO} 'sparc' > ${WRKSRC}/conf-opt
+DJB_CONFIG_CMDS=${ECHO} sparc > conf-opt
.endif
post-extract:
@@ -39,4 +33,5 @@ post-extract:
@${ECHO} ' Pentium III like processors.'
.endif
+.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"