From d37e23f2a89a34b0ebeeecd5f5f50e8ca2ad6c7c Mon Sep 17 00:00:00 2001 From: mjl Date: Thu, 13 Feb 2003 19:29:33 +0000 Subject: Make this build by building the necessary .ph files on the fly. Also add a MESSAGE telling the user to run h2ph on his include files. --- comms/p5-Device-SerialPort/MESSAGE | 7 +++++++ comms/p5-Device-SerialPort/Makefile | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 comms/p5-Device-SerialPort/MESSAGE (limited to 'comms') diff --git a/comms/p5-Device-SerialPort/MESSAGE b/comms/p5-Device-SerialPort/MESSAGE new file mode 100644 index 00000000000..c8b83c4b1dc --- /dev/null +++ b/comms/p5-Device-SerialPort/MESSAGE @@ -0,0 +1,7 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2003/02/13 19:29:33 mjl Exp $ + +You will need to have run h2ph on at least /usr/include/sys/termios.h +or else Device::SerialPort will no be functional due to missing +constants. +=========================================================================== diff --git a/comms/p5-Device-SerialPort/Makefile b/comms/p5-Device-SerialPort/Makefile index 3a6b47d3a8d..5e1befbf9ed 100644 --- a/comms/p5-Device-SerialPort/Makefile +++ b/comms/p5-Device-SerialPort/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/02/13 14:51:03 agc Exp $ +# $NetBSD: Makefile,v 1.9 2003/02/13 19:29:33 mjl Exp $ # DISTNAME= Device-SerialPort-0.12 @@ -16,7 +16,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Device/SerialPort/.packlist MAKE_PARAMS= ${DEFAULT_SERIAL_DEVICE} -BROKEN= Device::Serial could not find ioctl definitions +pre-configure: + cd /usr/include; h2ph -d ${WRKSRC} -a sys/termios.h .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3