aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2018-12-29 03:23:54 +0800
committerjhb <jhb@FreeBSD.org>2018-12-29 03:23:54 +0800
commit9e6613a9b758b53722318868957d1e262c1943d4 (patch)
treeadb7ba5b58d82e6baca6593b6a5cda7811147726
parent4a03ad247cb4d523ccc9da50b8f728db5ce7bc34 (diff)
downloadfreebsd-ports-gnome-9e6613a9b758b53722318868957d1e262c1943d4.tar.gz
freebsd-ports-gnome-9e6613a9b758b53722318868957d1e262c1943d4.tar.zst
freebsd-ports-gnome-9e6613a9b758b53722318868957d1e262c1943d4.zip
Fix build of devel/mdb.
- Include bsd.port.pre.mk before using SRC_BASE. - Add a missing file to the packing list. - Bump PORTREVISION. Approved by: zeising Differential Revision: https://reviews.freebsd.org/D18675
-rw-r--r--devel/mdb/Makefile5
-rw-r--r--devel/mdb/pkg-plist1
2 files changed, 5 insertions, 1 deletions
diff --git a/devel/mdb/Makefile b/devel/mdb/Makefile
index b4071a9c13f0..2d69d5518b93 100644
--- a/devel/mdb/Makefile
+++ b/devel/mdb/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mdb
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= jhb@FreeBSD.org
@@ -25,6 +26,8 @@ MAKE_ARGS+= FREEBSD_SRC_DIR=${SRC_BASE}
WRKSRC_SUBDIR= freebsd/cddl/usr.bin/mdb
CFLAGS+= -DMDB_PREFIX=\\\"${PREFIX}\\\" -g
+.include <bsd.port.pre.mk>
+
.if !exists(${SRC_BASE}/cddl/compat) || !exists(${SRC_BASE}/sys/cddl/compat)
IGNORE= requires full source tree with CDDL sources
.endif
@@ -32,4 +35,4 @@ IGNORE= requires full source tree with CDDL sources
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/mdb/kvm/${MACHINE_ARCH}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/mdb/pkg-plist b/devel/mdb/pkg-plist
index 0d651810ffb4..0c2e456e66f9 100644
--- a/devel/mdb/pkg-plist
+++ b/devel/mdb/pkg-plist
@@ -2,3 +2,4 @@ bin/mdb
lib/mdb/kvm/amd64/kernel.so
lib/mdb/kvm/amd64/kld.so
lib/mdb/kvm/amd64/mdb_ks.so
+lib/mdb/kvm/amd64/opensolaris.so