diff options
author | mjl <mjl@pkgsrc.org> | 2003-02-13 19:29:33 +0000 |
---|---|---|
committer | mjl <mjl@pkgsrc.org> | 2003-02-13 19:29:33 +0000 |
commit | 9b75c49c9b90b09252251764f58471c89b917947 (patch) | |
tree | b4dfccbc3c82e1682ad4b93e61ffe25a759809b0 /comms/p5-Device-SerialPort | |
parent | 1a11aa9f26c394e7307e5f5d1e0bdb92ef8f974e (diff) | |
download | pkgsrc-9b75c49c9b90b09252251764f58471c89b917947.tar.gz |
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.
Diffstat (limited to 'comms/p5-Device-SerialPort')
-rw-r--r-- | comms/p5-Device-SerialPort/MESSAGE | 7 | ||||
-rw-r--r-- | comms/p5-Device-SerialPort/Makefile | 5 |
2 files changed, 10 insertions, 2 deletions
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" |