pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/nmap Compilers other than GCC are not expected to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/167eb49cf7df
branches: trunk
changeset: 515483:167eb49cf7df
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jul 02 19:17:26 2006 +0000
description:
Compilers other than GCC are not expected to know the -MM option to
calculate dependencies, so disable it for them.
diffstat:
net/nmap/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 8e8a9debfa0e -r 167eb49cf7df net/nmap/Makefile
--- a/net/nmap/Makefile Sun Jul 02 18:24:18 2006 +0000
+++ b/net/nmap/Makefile Sun Jul 02 19:17:26 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2006/07/02 17:22:14 rillig Exp $
+# $NetBSD: Makefile,v 1.54 2006/07/02 19:17:26 rillig Exp $
#
DISTNAME= nmap-4.11
@@ -37,6 +37,14 @@
CFLAGS.SunOS+= -D__FUNCTION__=__FILE__
.endif
+.if empty(PKGSRC_COMPILER:Mgcc)
+# The Makefile uses a hard-coded option -MM to get the dependencies, which
+# is only understood by the GNU compiler. For a normal build the dependen-
+# cies are not needed anyway, only when patching files and fixing bugs.
+pre-build:
+ echo "# ignored" > ${WRKSRC}/makefile.dep
+.endif
+
.include "../../devel/pcre/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index