summaryrefslogtreecommitdiff
path: root/net/p5-Socket6
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
committerjlam <jlam@pkgsrc.org>2000-08-27 07:10:59 +0000
commit18cba9d7fa4ef20bc11b28b998233dddeb7ae32d (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /net/p5-Socket6
parent81bbfb25563e0e7d2f441eff32793eb50b7549e4 (diff)
downloadpkgsrc-18cba9d7fa4ef20bc11b28b998233dddeb7ae32d.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'net/p5-Socket6')
-rw-r--r--net/p5-Socket6/Makefile15
-rw-r--r--net/p5-Socket6/pkg/PLIST7
2 files changed, 10 insertions, 12 deletions
diff --git a/net/p5-Socket6/Makefile b/net/p5-Socket6/Makefile
index 50398fba1b1..c3dcccf10b1 100644
--- a/net/p5-Socket6/Makefile
+++ b/net/p5-Socket6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/06/04 13:11:45 itojun Exp $
+# $NetBSD: Makefile,v 1.4 2000/08/27 07:11:18 jlam Exp $
#
DISTNAME= Socket6-0.07
@@ -9,14 +9,17 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Socket6/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/libnet/FAQ.html
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Socket6/.packlist
-# supports IPv6 (actually, af independent)
.include "../../mk/bsd.prefs.mk"
-BUILD_DEFS+= USE_INET6
+
+# supports IPv6 (actually, af independent)
+BUILD_DEFS+= USE_INET6
+
+MAKE_ENV+= CCFLAGS="${CFLAGS} ${CPPFLAGS}"
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL \
- CCFLAGS="${CFLAGS} ${CPPFLAGS}"
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-Socket6/pkg/PLIST b/net/p5-Socket6/pkg/PLIST
index 3553408fd5c..035cdcc1651 100644
--- a/net/p5-Socket6/pkg/PLIST
+++ b/net/p5-Socket6/pkg/PLIST
@@ -1,6 +1 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/26 14:55:57 itojun Exp $
-lib/perl5/site_perl/Socket6.pm
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Socket6/.packlist
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Socket6/Socket6.bs
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Socket6/Socket6.so
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/Socket6
+@comment $NetBSD: PLIST,v 1.2 2000/08/27 07:11:18 jlam Exp $