- All tests have succeeded I have updated, checked and fixed all ports associated with pure.mk. /usr/ports/lang/pure/bsd.pure.mk will be obsolete, when all Pure Ports are committed. Please edit http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/appendices.html#uses-values and do necessary changes as under Feature Arguments Description pure none,ffi Implies the port uses lang/pure in one way or another, but largely is used for building pure related ports. ffi implies use devel/pure-ffi and devel/libffi. I will be submitting my work later today or latest by tomorrow. Fix: Please add attachment as /usr/ports/Mk/Uses/pure.mk into official FreeBSD Ports Tree. Patch attached with submission follows: How-To-Repeat: Please take a look at redports logs with regards to pure and do check a PR regarding pure.mk.
Responsible Changed From-To: freebsd-ports-bugs->beech beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer of Mk/Uses, Please note that PR ports/179401 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179401 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
Any reason of duplicating installing examples? -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/
1. Change the creator to you; 2. I hope to see more automations. -- Zhihao Yuan <zhihao.yuan@rackspace.com> The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/
> 1. Change the creator to you;
Responsible Changed From-To: beech->nemysis I'll take it.
- New Uses pure.mk - Provide support for Pure Programming Language based projects
On Wed, Oct 16, 2013 at 11:43 AM, Rusmir Dusko <nemysis@freebsd.org> wrote: > - New Uses pure.mk > - Provide support for Pure Programming Language based projects Cool! Currently pure-ffi only is enough. -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/
State Changed From-To: feedback->open Maintainer has approved.
Author: nemysis Date: Fri Oct 18 22:12:37 2013 New Revision: 330779 URL: http://svnweb.freebsd.org/changeset/ports/330779 Log: - New Uses pure.mk - Provide support for Pure Programming Language based projects PR: ports/179401 Submitted by: nemysis (self) Approved by: pawel (mentor), bapt (portmgr) Added: head/Mk/Uses/pure.mk (contents, props changed) Added: head/Mk/Uses/pure.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/Mk/Uses/pure.mk Fri Oct 18 22:12:37 2013 (r330779) @@ -0,0 +1,39 @@ +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> +# $FreeBSD$ +# +# Provide support for Pure Programming Language based projects +# +# MAINTAINER= nemysis@FreeBSD.org +# +# Feature: pure +# Usage: USES=pure or USES=pure:ARGS +# Valid ARGS: ffi +# ARGS description: +# ffi makes the port depends on pure-ffi at runtime +# + +.if !defined(_INCLUDE_USES_PURE_MK) +_INCLUDE_USES_PURE_MK= yes + +_valid_ARGS= ffi +_pure_ARGS= ${pure_ARGS:C/\:/ /g} + +# Sanity check +.if defined(pure_ARGS) && ${_pure_ARGS} != ffi +IGNORE=Incorrect 'USES+= pure:${pure_ARGS}' usage: argument [${pure_ARGS}] is not recognized +.endif + +LIB_DEPENDS+= libpure.so:${PORTSDIR}/lang/pure +.include "${PORTSDIR}/Mk/Uses/gmake.mk" + +.if ${_pure_ARGS:Mffi} +RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi +.endif + +MAKE_ARGS+= prefix=${PREFIX} mandir=${PREFIX}/man \ + CC="${CC}" CFLAGS="${CFLAGS}" \ + CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ + CPPFLAGS+=-I${LOCALBASE}/include \ + LDFLAGS+=-L${LOCALBASE}/lib + +.endif #!defined(_INCLUDE_USES_PURE_MK) _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!