summaryrefslogtreecommitdiff
path: root/net/sup/files
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2019-11-25 23:25:52 +0000
committerBrooks Davis <brooks@FreeBSD.org>2019-11-25 23:25:52 +0000
commitf2ab4428432c7278a3dfc65dd19ae1a0e21e9b2f (patch)
tree52dbe489ef07375a512911ffcd740da2bf5bfaed /net/sup/files
parent349193f6e0668b51b63df6aee192eed9a6930e18 (diff)
downloadfreebsd-ports-f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2f.zip
Fix build with src r354909 applied.
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into errors causing these ports that declare them and use the FreeBSD make infrastructure as part of their build to fail. When the offending variables occur in a BSD Makefile, NO_MAN becomes MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and MK_PROFILE=no respectively. When declared in the environment they become WITHOUT_<FOO>.
Diffstat (limited to 'net/sup/files')
-rw-r--r--net/sup/files/patch-lib_Makefile14
-rw-r--r--net/sup/files/patch-supscan_Makefile14
2 files changed, 28 insertions, 0 deletions
diff --git a/net/sup/files/patch-lib_Makefile b/net/sup/files/patch-lib_Makefile
new file mode 100644
index 000000000000..89d12b581d6b
--- /dev/null
+++ b/net/sup/files/patch-lib_Makefile
@@ -0,0 +1,14 @@
+--- lib/Makefile.orig
++++ lib/Makefile
+@@ -2,10 +2,9 @@
+
+ NOLINT= # defined
+ NOPIC= # defined
+-NOPROFILE=# defined
+ NO_LINT= # defined
+ NO_PIC= # defined
+-NO_PROFILE=# defined
++MK_PROFILE=no
+
+ LIB= sup
+
diff --git a/net/sup/files/patch-supscan_Makefile b/net/sup/files/patch-supscan_Makefile
new file mode 100644
index 000000000000..4e4720ed1ff4
--- /dev/null
+++ b/net/sup/files/patch-supscan_Makefile
@@ -0,0 +1,14 @@
+--- supscan/Makefile.orig
++++ supscan/Makefile
+@@ -1,10 +1,8 @@
+ # $NetBSD: Makefile,v 1.6 2002/09/18 13:31:56 lukem Exp $
+
+-NOMAN= # defined
+-NO_MAN= # defined
+-
+ PROG= supscan
+ SRCS= supscan.c scan.c
++MAN=
+
+ .PATH: ${.CURDIR}/../source
+