Sun Mar 8 17:17:02 2009 UTC ()
Recognize Dragofly as BSD Family representative.
Enables Dragonfly build (tested on 2.1.1).


(asau)
diff -r1.5 -r1.6 pkgsrc/math/fricas/Makefile

cvs diff -r1.5 -r1.6 pkgsrc/math/fricas/Makefile (expand / switch to context diff)
--- pkgsrc/math/fricas/Makefile 2009/02/25 01:49:48 1.5
+++ pkgsrc/math/fricas/Makefile 2009/03/08 17:17:02 1.6
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/02/25 01:49:48 asau Exp $
+# $NetBSD: Makefile,v 1.6 2009/03/08 17:17:02 asau Exp $
 
 PKGNAME=		fricas-1.0.5
 DISTNAME=		${PKGNAME_NOREV}-full
@@ -30,5 +30,12 @@
 .if !empty(PKG_OPTIONS:Mclisp)
 INSTALL_UNSTRIPPED=	yes	# don't strip AXIOMsys, it breaks FFI
 .endif
+
+# Fix BSD Family pattern:
+SUBST_CLASSES+=			dragonfly
+SUBST_STAGE.dragonfly=		post-patch
+SUBST_MESSAGE.dragonfly=	Fixing BSD Family pattern
+SUBST_FILES.dragonfly=		configure
+SUBST_SED.dragonfly=		-e 's/\*bsd\*)/*bsd*|*dragonfly*)/'
 
 .include "../../mk/bsd.pkg.mk"