summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-25 18:01:58 +0000
committerjlam <jlam>2001-11-25 18:01:58 +0000
commitfb6b7cddedef9ba5d921df7e11f3242c394c8e05 (patch)
tree9ed4331d71cdebf312a218e5b291c3b8b6e69e24
parentb1900104934631b1910d0700cd36bba7c34acfab (diff)
downloadpkgsrc-fb6b7cddedef9ba5d921df7e11f3242c394c8e05.tar.gz
Don't hardcode /dev/tty00 as the serial device; use ${DEFAULT_SERIAL_DEVICE}
instead. This has no user-visible effect, as the serial device name is only used for the test framework.
-rw-r--r--comms/p5-Device-SerialPort/Makefile6
-rw-r--r--comms/p5-Device-SerialPort/distinfo3
-rw-r--r--comms/p5-Device-SerialPort/patches/patch-aa13
3 files changed, 5 insertions, 17 deletions
diff --git a/comms/p5-Device-SerialPort/Makefile b/comms/p5-Device-SerialPort/Makefile
index a234abd9904..24446088e4a 100644
--- a/comms/p5-Device-SerialPort/Makefile
+++ b/comms/p5-Device-SerialPort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/10/18 15:20:04 veego Exp $
+# $NetBSD: Makefile,v 1.4 2001/11/25 18:01:58 jlam Exp $
#
DISTNAME= Device-SerialPort-0.070
@@ -15,7 +15,9 @@ COMMENT= POSIX-based Perl module to control your serial port
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Device/SerialPort/.packlist
+MAKE_PARAMS= ${DEFAULT_SERIAL_DEVICE}
+
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/p5-Device-SerialPort/distinfo b/comms/p5-Device-SerialPort/distinfo
index ca7ba02cb9c..9c947031b33 100644
--- a/comms/p5-Device-SerialPort/distinfo
+++ b/comms/p5-Device-SerialPort/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 09:04:23 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/11/25 18:01:58 jlam Exp $
SHA1 (Device-SerialPort-0.070.tar.gz) = f5bb56453b838cd5220f7ded8981e0286c215ddf
Size (Device-SerialPort-0.070.tar.gz) = 60085 bytes
-SHA1 (patch-aa) = 5fcf0ee6d8124ba4da2f1572a70178a064e3b9dc
diff --git a/comms/p5-Device-SerialPort/patches/patch-aa b/comms/p5-Device-SerialPort/patches/patch-aa
deleted file mode 100644
index 709c4569492..00000000000
--- a/comms/p5-Device-SerialPort/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/12/18 23:04:26 tsarna Exp $
-
---- Makefile.PL.orig Sun Dec 17 21:32:55 2000
-+++ Makefile.PL
-@@ -8,7 +8,7 @@
- 'clean' => {FILES => "t/DefaultPort.pm *.cfg t/*.cfg"},
- );
-
--my $file = "/dev/ttyS0";
-+my $file = "/dev/tty00";
- if (@ARGV) {
- $file = shift @ARGV;
- }