summaryrefslogtreecommitdiff
path: root/comms/p5-Device-SerialPort
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2003-02-13 19:39:40 +0000
committermjl <mjl@pkgsrc.org>2003-02-13 19:39:40 +0000
commit75bcb34e2f8d168db3b6b729ad56049caa37f796 (patch)
tree89d9c9959c9ebe404b75dc89792753845306fd92 /comms/p5-Device-SerialPort
parent9b75c49c9b90b09252251764f58471c89b917947 (diff)
downloadpkgsrc-75bcb34e2f8d168db3b6b729ad56049caa37f796.tar.gz
Instead of homegrown work around, just depend on p5-perl-headers.
Kudos to wiz for pointing out that such a package indeed exists.
Diffstat (limited to 'comms/p5-Device-SerialPort')
-rw-r--r--comms/p5-Device-SerialPort/MESSAGE7
-rw-r--r--comms/p5-Device-SerialPort/Makefile7
2 files changed, 3 insertions, 11 deletions
diff --git a/comms/p5-Device-SerialPort/MESSAGE b/comms/p5-Device-SerialPort/MESSAGE
deleted file mode 100644
index c8b83c4b1dc..00000000000
--- a/comms/p5-Device-SerialPort/MESSAGE
+++ /dev/null
@@ -1,7 +0,0 @@
-===========================================================================
-$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 5e1befbf9ed..578aa40ad40 100644
--- a/comms/p5-Device-SerialPort/Makefile
+++ b/comms/p5-Device-SerialPort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/02/13 19:29:33 mjl Exp $
+# $NetBSD: Makefile,v 1.10 2003/02/13 19:39:40 mjl Exp $
#
DISTNAME= Device-SerialPort-0.12
@@ -11,13 +11,12 @@ MAINTAINER= damon@brodiefamily.org
HOMEPAGE= http://members.aol.com/Bbirthisel/alpha.html
COMMENT= POSIX-based Perl module to control your serial port
+DEPENDS+= p5-perl-headers-[0-9]*:../../devel/p5-perl-headers
+
USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Device/SerialPort/.packlist
MAKE_PARAMS= ${DEFAULT_SERIAL_DEVICE}
-pre-configure:
- cd /usr/include; h2ph -d ${WRKSRC} -a sys/termios.h
-
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"