diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-08 04:49:06 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-03-08 04:49:06 +0800 |
commit | 39b3f91bfadcb6f66474972aac2c878ea7eebcd2 (patch) | |
tree | deee37f399909bd7779d37e5085e7c42702d767d /Mk | |
parent | 21f436d90334b9e34071de78c7bbd8c239b3beff (diff) | |
download | marcuscom-ports-39b3f91bfadcb6f66474972aac2c878ea7eebcd2.tar marcuscom-ports-39b3f91bfadcb6f66474972aac2c878ea7eebcd2.tar.gz marcuscom-ports-39b3f91bfadcb6f66474972aac2c878ea7eebcd2.tar.bz2 marcuscom-ports-39b3f91bfadcb6f66474972aac2c878ea7eebcd2.tar.lz marcuscom-ports-39b3f91bfadcb6f66474972aac2c878ea7eebcd2.tar.xz marcuscom-ports-39b3f91bfadcb6f66474972aac2c878ea7eebcd2.tar.zst marcuscom-ports-39b3f91bfadcb6f66474972aac2c878ea7eebcd2.zip |
Add an error check if someone forget to add WANT_GNOME before bsd.port.pre.mk.
PR: ports/121279
Submitted by: edwin
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10615 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gnome.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index f7bf02bd4..560e3ff01 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -3,7 +3,7 @@ # # $FreeBSD$ # $NetBSD: $ -# $MCom: ports/Mk/bsd.gnome.mk,v 1.444 2008/02/23 17:36:55 ahze Exp $ +# $MCom: ports/Mk/bsd.gnome.mk,v 1.445 2008/02/23 17:46:07 ahze Exp $ # # Please view me with 4 column tabs! @@ -618,6 +618,10 @@ HAVE_GNOME+= ${component} Gnome_Post_Include= bsd.gnome.mk +.if !defined(Gnome_Pre_Include) +.error The Pre include part of bsd.gnome.mk part is not included. Did you forget WANT_GNOME=yes before bsd.port.pre.mk? +.endif + # DO NOT USE THESE MACROS! They are obsolete, and only provided for # backward compatibility with old ports that have not converted to the new # GNOME infrastructure. |