mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
d82881651b
package management tools. - Drop redundant dependency of pkg_create(1) and pkg_delete(1) on crypto libraries now that they do not link with libfetch.
20 lines
451 B
Makefile
20 lines
451 B
Makefile
# $FreeBSD$
|
|
|
|
.if exists(${.OBJDIR}/../lib)
|
|
LIBINSTALL= ${.OBJDIR}/../lib/libinstall.a
|
|
.else
|
|
LIBINSTALL= ${.CURDIR}/../lib/libinstall.a
|
|
.endif
|
|
|
|
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && \
|
|
defined(LDADD) && ${LDADD:M-lfetch} != ""
|
|
DISTRIBUTION= crypto
|
|
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
|
LDADD+= -lssl -lcrypto
|
|
.endif
|
|
|
|
# Inherit BINDIR from one level up.
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|