aboutsummaryrefslogtreecommitdiffstats
path: root/net/libnet
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-03 17:12:43 +0800
committerbapt <bapt@FreeBSD.org>2013-05-03 17:12:43 +0800
commit29c113f21d76a67513261dd56871788cfb6b4e20 (patch)
tree7c6ac39ab8a0eff1d7709f5e9aeff2b73e4f5769 /net/libnet
parent176b0bc144a3971bbf36d6a2f30bd657a3aa922b (diff)
downloadfreebsd-ports-gnome-29c113f21d76a67513261dd56871788cfb6b4e20.tar.gz
freebsd-ports-gnome-29c113f21d76a67513261dd56871788cfb6b4e20.tar.zst
freebsd-ports-gnome-29c113f21d76a67513261dd56871788cfb6b4e20.zip
Upstream makefile is not bmake compatible, let's use gmake to build this port in case make is bmake
Obtained from: dports
Diffstat (limited to 'net/libnet')
-rw-r--r--net/libnet/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/libnet/Makefile b/net/libnet/Makefile
index 5cdb89492692..f3a04f00e70c 100644
--- a/net/libnet/Makefile
+++ b/net/libnet/Makefile
@@ -20,6 +20,10 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CFLAGS+= -fPIC
USE_CSTD= gnu89
+# upstream makefile is not bmake compatible
+.if defined(.PARSEDIR)
+USE_GMAKE= yes
+.endif
CONFIGURE_ARGS= --with-link-layer=${LIBNET_LINK}
SHORT_VER= 11