summaryrefslogtreecommitdiff
path: root/comms/p5-Device-SerialPort
diff options
context:
space:
mode:
authormjl <mjl>2003-02-13 19:29:33 +0000
committermjl <mjl>2003-02-13 19:29:33 +0000
commitd37e23f2a89a34b0ebeeecd5f5f50e8ca2ad6c7c (patch)
treeb4dfccbc3c82e1682ad4b93e61ffe25a759809b0 /comms/p5-Device-SerialPort
parent1e0550e95d3685715e3f6134cba9df334667eb2f (diff)
downloadpkgsrc-d37e23f2a89a34b0ebeeecd5f5f50e8ca2ad6c7c.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/MESSAGE7
-rw-r--r--comms/p5-Device-SerialPort/Makefile5
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"