summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-26 06:49:36 +0000
committerjlam <jlam@pkgsrc.org>2001-11-26 06:49:36 +0000
commitcc4128d97eccc9414734e8749acafd66857c3da4 (patch)
treeadb2df37f293a2d032459855304d52364a29788d /comms
parenta137e40e1317433623228a945894303669603833 (diff)
downloadpkgsrc-cc4128d97eccc9414734e8749acafd66857c3da4.tar.gz
Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
Diffstat (limited to 'comms')
-rw-r--r--comms/p5-Device-SerialPort/Makefile7
-rw-r--r--comms/p5-pilot-link/Makefile7
2 files changed, 8 insertions, 6 deletions
diff --git a/comms/p5-Device-SerialPort/Makefile b/comms/p5-Device-SerialPort/Makefile
index 24446088e4a..e8f4ce3e941 100644
--- a/comms/p5-Device-SerialPort/Makefile
+++ b/comms/p5-Device-SerialPort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/11/25 18:01:58 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2001/11/26 06:49:38 jlam Exp $
#
DISTNAME= Device-SerialPort-0.070
@@ -12,12 +12,13 @@ MAINTAINER= damon@brodiefamily.org
HOMEPAGE= http://members.aol.com/Bbirthisel/alpha.html
COMMENT= POSIX-based Perl module to control your serial port
-USE_PERL5= # defined
-PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Device/SerialPort/.packlist
+USE_BUILDLINK_ONLY= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Device/SerialPort/.packlist
MAKE_PARAMS= ${DEFAULT_SERIAL_DEVICE}
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/p5-pilot-link/Makefile b/comms/p5-pilot-link/Makefile
index 630d98e91ce..2e98b53f37b 100644
--- a/comms/p5-pilot-link/Makefile
+++ b/comms/p5-pilot-link/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/10/18 15:20:04 veego Exp $
+# $NetBSD: Makefile,v 1.13 2001/11/26 06:49:39 jlam Exp $
DISTNAME= pilot-link.0.9.5
PKGNAME= p5-pilot-link-0.1
@@ -11,7 +11,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu-designs.com/pilot-link/
COMMENT= perl interface to pilot-link library
-USE_PERL5= # defined
+USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/PDA/Pilot/.packlist
EXTRACT_ELEMENTS= ${DISTNAME}/tools/Perl5
@@ -26,7 +26,7 @@ pre-configure:
@cd ${WRKSRC}; \
${SED} -e "s|@prefix@|${PREFIX}|g" \
-e "s|@exec_prefix@|${PREFIX}|g" \
- -e "s|@libdir@|${PREFIX}/lib|g" \
+ -e "s|@libdir@|${BUILDLINK_DIR}/lib|g" \
-e "s|\(-I.*\)\(',\)|\1 ${BUILDLINK_CPPFLAGS}\2|" \
Makefile.PL.in > Makefile.PL
@@ -34,4 +34,5 @@ do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
.include "../../comms/pilot-link-libs/buildlink.mk"
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"