mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
8a502cb2d4
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
36 lines
711 B
Makefile
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>
|