summaryrefslogtreecommitdiff
path: root/comms/p5-Device-SerialPort/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-25 18:01:58 +0000
committerjlam <jlam>2001-11-25 18:01:58 +0000
commitf71df2ea510f4bdf19eb7309d86e2d02487ac0d9 (patch)
tree9ed4331d71cdebf312a218e5b291c3b8b6e69e24 /comms/p5-Device-SerialPort/Makefile
parent3fe4f21ca93c6ab2e6fc26cf62eae17e3058b5ea (diff)
downloadpkgsrc-f71df2ea510f4bdf19eb7309d86e2d02487ac0d9.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.
Diffstat (limited to 'comms/p5-Device-SerialPort/Makefile')
-rw-r--r--comms/p5-Device-SerialPort/Makefile6
1 files changed, 4 insertions, 2 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"