@@ -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"