summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authormjl <mjl>2003-02-13 19:39:40 +0000
committermjl <mjl>2003-02-13 19:39:40 +0000
commitde9ef11e14e6d290a50dbb04dc4435c4209cb067 (patch)
tree89d9c9959c9ebe404b75dc89792753845306fd92 /comms
parentd37e23f2a89a34b0ebeeecd5f5f50e8ca2ad6c7c (diff)
downloadpkgsrc-de9ef11e14e6d290a50dbb04dc4435c4209cb067.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')
-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"