localbase: mostly a non user one which enforce the compiler related flags to lookup in localbase first to find libraries, designed to be used in other USES libarchive: to be used each time one is using libarchive from ports. It is necessary to simplify work for porters dealing with different versions of libarchive from base and different ways libarchive can be linked in base (with libmd and/or libcrypto) only dealing with one libarchive over all the ports tree is easier libedit: enforce using libedit from ports for the same reasons as for libarchive Same things will happen for other base libraries which collides with ports version later.
16 lines
318 B
Makefile
16 lines
318 B
Makefile
# $FreeBSD$
|
|
#
|
|
# handle dependency on the libedit port
|
|
#
|
|
# Feature: libedit
|
|
# Usage: USES=libedit
|
|
# Valid ARGS: none
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_LIBEDIT_MK)
|
|
_INCLUDE_USES_LIBEDIT_MK= yes
|
|
.include "${USESDIR}/localbase.mk"
|
|
|
|
LIB_DEPENDS+= libedit.so.0:${PORTSDIR}/devel/libedit
|
|
.endif
|