mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
Remove USES=pure and its QA check now that lang/pure has been removed.
This commit is contained in:
parent
85a0163a62
commit
85ce2bc6f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510702
2 changed files with 0 additions and 42 deletions
|
@ -613,9 +613,6 @@ proxydeps_suggest_uses() {
|
|||
# openal
|
||||
elif [ ${pkg} = "audio/openal" -o ${pkg} = "audio/openal-soft" -o ${pkg} = "audio/freealut" ]; then
|
||||
warn "you need USES+=openal"
|
||||
# pure
|
||||
elif [ ${pkg} = "lang/pure" ]; then
|
||||
warn "you need USES+=pure"
|
||||
# readline
|
||||
elif [ ${pkg} = "devel/readline" ]; then
|
||||
warn "you need USES+=readline"
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Provide support for Pure Programming Language based projects
|
||||
#
|
||||
# Feature: pure
|
||||
# Usage: USES=pure or USES=pure:ARGS
|
||||
# Valid ARGS: ffi
|
||||
# ARGS description:
|
||||
# ffi makes the port depends on pure-ffi at runtime
|
||||
#
|
||||
# MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
.if !defined(_INCLUDE_USES_PURE_MK)
|
||||
_INCLUDE_USES_PURE_MK= yes
|
||||
|
||||
_valid_ARGS= ffi
|
||||
|
||||
# Sanity check
|
||||
.for arg in ${pure_ARGS}
|
||||
. if empty(_valid_ARGS:M${arg})
|
||||
IGNORE= Incorrect 'USES+= pure:${pure_ARGS}' usage: argument [${arg}] is not recognized
|
||||
. endif
|
||||
.endfor
|
||||
|
||||
LIB_DEPENDS+= libpure.so:lang/pure
|
||||
.include "${USESDIR}/gmake.mk"
|
||||
|
||||
.if ${pure_ARGS:Mffi}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure: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)
|
Loading…
Add table
Reference in a new issue