1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/Mk/Uses/libarchive.mk
Baptiste Daroussin 81471a0b2a Add 3 new uses
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.
2015-07-19 14:36:00 +00:00

17 lines
344 B
Makefile

# $FreeBSD$
#
# handle dependency on the libarchive port
#
# Feature: libarchive
# Usage: USES=libarchive
# Valid ARGS: none
#
# MAINTAINER: portmgr@FreeBSD.org
.if !defined(_INCLUDE_USES_LIBARCHIVE_MK)
_INCLUDE_USES_LIBARCHIVE_MK= yes
.include "${USESDIR}/localbase.mk"
LIB_DEPENDS+= libarchive.so.13:${PORTSDIR}/archivers/libarchive
.endif