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