summaryrefslogtreecommitdiff
path: root/graphics/asymptote/Makefile
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-08-27 13:08:54 +0000
committerhasso <hasso@pkgsrc.org>2009-08-27 13:08:54 +0000
commitebe723512d6335655e56f6ca98417ebd8282ff6d (patch)
tree62dcd584f4221ecd22af207f63902e2963c14289 /graphics/asymptote/Makefile
parenta29a566ec74316978758de0fd05d2475ad9bed7d (diff)
downloadpkgsrc-ebe723512d6335655e56f6ca98417ebd8282ff6d.tar.gz
Fix build on DragonFly.
Diffstat (limited to 'graphics/asymptote/Makefile')
-rw-r--r--graphics/asymptote/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/asymptote/Makefile b/graphics/asymptote/Makefile
index 63a31566922..be0c667b96a 100644
--- a/graphics/asymptote/Makefile
+++ b/graphics/asymptote/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/08/21 23:02:29 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/08/27 13:08:54 hasso Exp $
#
DISTNAME= asymptote-1.84
@@ -31,6 +31,13 @@ post-install:
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1x \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1
+.include "../../mk/bsd.prefs.mk"
+
+# DragonFly has stripped makeinfo in the base - without texi2dvi.
+.if ${OPSYS} == "DragonFly"
+BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
+.endif
+
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
# next two could be split off into options