1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/mdb/Makefile
Rene Ladan 8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00

36 lines
711 B
Makefile

# $FreeBSD$
PORTNAME= mdb
PORTVERSION= 0.3
CATEGORIES= devel
MAINTAINER= jhb@FreeBSD.org
COMMENT= Solaris Modular Debugger
LICENSE= CDDL
USES= uidfix
USE_GITHUB= yes
GH_ACCOUNT= bsdjhb
GH_PROJECT= illumos-gate
GH_TAGNAME= fc55b6de75
ONLY_FOR_ARCHS= amd64
MAKE_ARGS= WITH_CTF=yes
MAKE_ARGS+= BINDIR=${PREFIX}/bin
MAKE_ARGS+= LIBDIR=${PREFIX}/lib
MAKE_ARGS+= FREEBSD_SRC_DIR=${SRC_BASE}
WRKSRC_SUBDIR= freebsd/cddl/usr.bin/mdb
CFLAGS+= -DMDB_PREFIX=\\\"${PREFIX}\\\" -g
.if !exists(${SRC_BASE}/cddl/compat) || !exists(${SRC_BASE}/sys/cddl/compat)
IGNORE= requires full source tree with CDDL sources
.endif
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/mdb/kvm/${MACHINE_ARCH}
.include <bsd.port.mk>