Thu Aug 27 13:08:54 2009 UTC ()
Fix build on DragonFly.


(hasso)
diff -r1.1.1.1 -r1.2 pkgsrc/graphics/asymptote/Makefile

cvs diff -r1.1.1.1 -r1.2 pkgsrc/graphics/asymptote/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/asymptote/Makefile 2009/08/21 23:02:29 1.1.1.1
+++ pkgsrc/graphics/asymptote/Makefile 2009/08/27 13:08:54 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.1.1.1 2009/08/21 23:02:29 wiz Exp $ 1# $NetBSD: Makefile,v 1.2 2009/08/27 13:08:54 hasso Exp $
2# 2#
3 3
4DISTNAME= asymptote-1.84 4DISTNAME= asymptote-1.84
5CATEGORIES= graphics 5CATEGORIES= graphics
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asymptote/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asymptote/}
7EXTRACT_SUFX= .tgz 7EXTRACT_SUFX= .tgz
8DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX} 8DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
9 9
10MAINTAINER= bjs@NetBSD.org 10MAINTAINER= bjs@NetBSD.org
11HOMEPAGE= http://asymptote.sourceforge.net/ 11HOMEPAGE= http://asymptote.sourceforge.net/
12COMMENT= Powerful descriptive vector graphics language for technical drawings 12COMMENT= Powerful descriptive vector graphics language for technical drawings
13LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3 13LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
14 14
@@ -21,25 +21,32 @@ PKG_DESTDIR_SUPPORT= user-destdir @@ -21,25 +21,32 @@ PKG_DESTDIR_SUPPORT= user-destdir
21GNU_CONFIGURE= yes 21GNU_CONFIGURE= yes
22INFO_FILES= yes 22INFO_FILES= yes
23USE_LANGUAGES= c c++ 23USE_LANGUAGES= c c++
24 24
25CONFIGURE_ARGS+= --enable-gc=system 25CONFIGURE_ARGS+= --enable-gc=system
26CONFIGURE_ARGS+= --infodir=${PREFIX}/info 26CONFIGURE_ARGS+= --infodir=${PREFIX}/info
27USE_TOOLS+= gmake makeinfo perl 27USE_TOOLS+= gmake makeinfo perl
28CFLAGS+= -DGC_NO_THREAD_REDIRECTS 28CFLAGS+= -DGC_NO_THREAD_REDIRECTS
29 29
30post-install: 30post-install:
31 ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1x \ 31 ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1x \
32 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1 32 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1
33 33
 34.include "../../mk/bsd.prefs.mk"
 35
 36# DragonFly has stripped makeinfo in the base - without texi2dvi.
 37.if ${OPSYS} == "DragonFly"
 38BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
 39.endif
 40
34.include "../../devel/boehm-gc/buildlink3.mk" 41.include "../../devel/boehm-gc/buildlink3.mk"
35.include "../../devel/readline/buildlink3.mk" 42.include "../../devel/readline/buildlink3.mk"
36# next two could be split off into options 43# next two could be split off into options
37.include "../../math/fftw/buildlink3.mk" 44.include "../../math/fftw/buildlink3.mk"
38.include "../../math/gsl/buildlink3.mk" 45.include "../../math/gsl/buildlink3.mk"
39# freeglut too old, not recognized 46# freeglut too old, not recognized
40#.include "../../graphics/freeglut/buildlink3.mk" 47#.include "../../graphics/freeglut/buildlink3.mk"
41# recognized, but makes asy dump core during creation of documentation 48# recognized, but makes asy dump core during creation of documentation
42#.include "../../graphics/glut/buildlink3.mk" 49#.include "../../graphics/glut/buildlink3.mk"
43 50
44.include "../../mk/tex.buildlink3.mk" 51.include "../../mk/tex.buildlink3.mk"
45.include "../../mk/bsd.pkg.mk" 52.include "../../mk/bsd.pkg.mk"