From owner-svn-ports-head@FreeBSD.ORG Sun Sep 14 09:37:54 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8AA76CE; Sun, 14 Sep 2014 09:37:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96989D45; Sun, 14 Sep 2014 09:37:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8E9bsl8001596; Sun, 14 Sep 2014 09:37:54 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8E9bshP001595; Sun, 14 Sep 2014 09:37:54 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409140937.s8E9bshP001595@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Sun, 14 Sep 2014 09:37:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368164 - head/lang/racket X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2014 09:37:54 -0000 Author: tijl Date: Sun Sep 14 09:37:54 2014 New Revision: 368164 URL: http://svnweb.freebsd.org/changeset/ports/368164 QAT: https://qat.redports.org/buildarchive/r368164/ Log: - Move some variable definitions in front of bsd.port.options.mk - Use option helpers - Specify --disable-lt to use the bundled libtool Modified: head/lang/racket/Makefile Modified: head/lang/racket/Makefile ============================================================================== --- head/lang/racket/Makefile Sun Sep 14 09:14:23 2014 (r368163) +++ head/lang/racket/Makefile Sun Sep 14 09:37:54 2014 (r368164) @@ -3,6 +3,7 @@ PORTNAME= racket PORTVERSION= 6.1 +PORTREVISION= 1 CATEGORIES= lang scheme MASTER_SITES= http://mirror.racket-lang.org/installers/${PORTVERSION}/ \ http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \ @@ -16,38 +17,24 @@ DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Interactive, integrated, graphical Scheme programming environment +LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi \ + libcairo.so:${PORTSDIR}/graphics/cairo \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png + MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= RACKET_PLACES -RACKET_PLACES_DESC= Enable Places OPTIONS_DEFAULT= RACKET_PLACES +RACKET_PLACES_DESC= Enable Places +RACKET_PLACES_CONFIGURE_ENABLE= places CONFLICTS= racket-minimal-[0-9]* GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared --enable-pthread \ - --enable-lt=${LIBTOOL} - -.include - -.if defined(WITHOUT_X11) -IGNORE= requires X11; use lang/racket-textual instead -.endif - -LIB_DEPENDS+= libffi.so:${PORTSDIR}/devel/libffi \ - libcairo.so:${PORTSDIR}/graphics/cairo \ - libjpeg.so:${PORTSDIR}/graphics/jpeg \ - libpng15.so:${PORTSDIR}/graphics/png - -.if ${PORT_OPTIONS:MRACKET_PLACES} -CONFIGURE_ARGS+= --enable-places -.else -CONFIGURE_ARGS+= --disable-places -.endif - -# Force the "configure" script to look in $LOCALBASE for -lpng and -ljpeg -LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS= --disable-lt --enable-shared --enable-pthread CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src USES= iconv libtool tar:tgz @@ -57,7 +44,7 @@ USE_SQLITE= 3 ONLY_FOR_ARCHS= i386 amd64 -.include +.include .if ${ARCH} == "amd64" CPPFLAGS+= -DLONG64 @@ -67,4 +54,4 @@ post-install: ${REINPLACE_CMD} -e "s@${STAGEDIR}@@" ${STAGEDIR}${PREFIX}/share/applications/*.desktop ${RM} ${STAGEDIR}${PREFIX}/share/applications/*.bak -.include +.include