summaryrefslogtreecommitdiff
path: root/lang/racket/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/racket/Makefile')
-rw-r--r--lang/racket/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/lang/racket/Makefile b/lang/racket/Makefile
index c60435076ec..e0cda709257 100644
--- a/lang/racket/Makefile
+++ b/lang/racket/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2011/07/14 10:16:11 asau Exp $
+# $NetBSD: Makefile,v 1.6 2011/08/01 11:45:42 asau Exp $
-PKGNAME= racket-5.0.1
-PKGREVISION= 1
+PKGNAME= racket-5.1.1
DISTNAME= $(PKGNAME_NOREV)-src-unix
CATEGORIES= lang
MASTER_SITES_PLT= http://download.racket-lang.org/installers/$(PKGVERSION_NOREV)/ \
@@ -22,16 +21,22 @@ PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS+= drscheme-[0-9]* mzscheme-[0-9]* racket-textual-[0-9]*
-WRKSRC= $(WRKDIR)/plt-$(PKGVERSION_NOREV)
+WRKSRC= $(WRKDIR)/$(PKGNAME_NOREV)
GNU_CONFIGURE= yes
CONFIGURE_DIRS= src
USE_LANGUAGES= c c++
+USE_TOOLS= pkg-config
MAKE_JOBS_SAFE= no
UNLIMIT_RESOURCES= datasize
+BUILDLINK_TRANSFORM+= rm:-ldl
+
REPLACE_SH= collects/tests/framework/framework-test
+# No REPLACE_CSH:
+CHECK_INTERPRETER_SKIP= lib/racket/collects/2htdp/tests/xtest
+
.for f in use-c-printf.rkt use-crypt.rkt use-esd.rkt use-magick.rkt use-sndfile.rkt use-tcl.rkt use-xmmsctrl.rkt use-xosd.rkt
REPLACE_RACKET+= collects/ffi/examples/$f
.endfor
@@ -41,8 +46,15 @@ REPLACE.racket.old= .*racket
REPLACE.racket.new= ${LOCALBASE}/bin/racket
REPLACE_FILES.racket= ${REPLACE_RACKET}
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
+PTHREAD_AUTO_VARS= yes
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"