aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-03-02 20:55:35 +0800
committered <ed@FreeBSD.org>2009-03-02 20:55:35 +0800
commit6c4142711f18b9a247c1dd1730404e77988dcd26 (patch)
treeda24b85d866b1b5d334da3c0209a52b1185efe8a /devel
parent2a662d450aabdabfe0b296e189e71e6d85d7dcff (diff)
downloadfreebsd-ports-gnome-6c4142711f18b9a247c1dd1730404e77988dcd26.tar.gz
freebsd-ports-gnome-6c4142711f18b9a247c1dd1730404e77988dcd26.tar.zst
freebsd-ports-gnome-6c4142711f18b9a247c1dd1730404e77988dcd26.zip
Make rudiments compile on CURRENT again.
Reported by: linimon
Diffstat (limited to 'devel')
-rw-r--r--devel/rudiments/Makefile8
-rw-r--r--devel/rudiments/files/patch-include_rudiments_serialportprofile.h18
2 files changed, 19 insertions, 7 deletions
diff --git a/devel/rudiments/Makefile b/devel/rudiments/Makefile
index 248713db20da..6611519cda77 100644
--- a/devel/rudiments/Makefile
+++ b/devel/rudiments/Makefile
@@ -24,10 +24,4 @@ CONFIGURE_ARGS= --with-ssl-includes=-I${OPENSSLINC} \
--disable-pcre
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800045
-BROKEN= does not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/rudiments/files/patch-include_rudiments_serialportprofile.h b/devel/rudiments/files/patch-include_rudiments_serialportprofile.h
new file mode 100644
index 000000000000..84af87654eb2
--- /dev/null
+++ b/devel/rudiments/files/patch-include_rudiments_serialportprofile.h
@@ -0,0 +1,18 @@
+--- include/rudiments/serialportprofile.h
++++ include/rudiments/serialportprofile.h
+@@ -129,9 +129,15 @@
+
+ #ifdef TABDLY
+ enum tabdelay_t {
++ #ifdef TAB0
+ td_none=TAB0,
++ #endif
++ #ifdef TAB1
+ td_depends=TAB1,
++ #endif
++ #ifdef TAB2
+ td_100=TAB2
++ #endif
+ };
+ #endif
+