summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authormjl <mjl>2003-02-13 19:29:33 +0000
committermjl <mjl>2003-02-13 19:29:33 +0000
commitaa885fbd05304ffe19a6bdc4423dc9da0dc29c24 (patch)
treeb4dfccbc3c82e1682ad4b93e61ffe25a759809b0 /comms
parent6ffc08f75236f86b8aba5fc258d043b9162d8d4e (diff)
downloadpkgsrc-aa885fbd05304ffe19a6bdc4423dc9da0dc29c24.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')
-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"