summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2009-08-27 13:08:54 +0000
committerhasso <hasso>2009-08-27 13:08:54 +0000
commit372dcfbe08a5b622da273540ac7939192c79bcfb (patch)
tree62dcd584f4221ecd22af207f63902e2963c14289
parent6b0b1f43180e2805ffae5cd4512e223cf8e08839 (diff)
downloadpkgsrc-372dcfbe08a5b622da273540ac7939192c79bcfb.tar.gz
Fix build on DragonFly.
-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