aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-30 22:13:40 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-06-30 22:13:40 +0000
commitde658cc5a4d000bc328069903eefd9a7a2b58399 (patch)
treee081a1e5a4aa7cee9b1eba2b491d92a200c22bd5 /devel
parent37490f8f75616945d469d3a33a78f6c86024bf5a (diff)
downloadports-de658cc5a4d000bc328069903eefd9a7a2b58399.tar.gz
ports-de658cc5a4d000bc328069903eefd9a7a2b58399.zip
Remove Perl core modules
- While I'm here: - Add NO_ARCH - Sort PLIST - Regenerate patch file with makepatch: - Bump PORTREVISION for dependency change With hat: perl
Notes
Notes: svn path=/head/; revision=444790
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Test-OpenLDAP/Makefile6
-rw-r--r--devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm12
-rw-r--r--devel/p5-Test-OpenLDAP/pkg-plist2
3 files changed, 10 insertions, 10 deletions
diff --git a/devel/p5-Test-OpenLDAP/Makefile b/devel/p5-Test-OpenLDAP/Makefile
index 0c6ef2a412e8..2c2fe8f746d5 100644
--- a/devel/p5-Test-OpenLDAP/Makefile
+++ b/devel/p5-Test-OpenLDAP/Makefile
@@ -2,7 +2,7 @@
PORTNAME= Test-OpenLDAP
PORTVERSION= 0.05
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -16,10 +16,10 @@ LICENSE_COMB= dual
RUN_DEPENDS= \
p5-Data-UUID>0:devel/p5-Data-UUID \
p5-perl-ldap>0:net/p5-perl-ldap \
- ${LOCALBASE}/libexec/slapd:net/openldap${OPENLDAP_VER}-server \
- p5-Net>0:net/p5-Net
+ ${LOCALBASE}/libexec/slapd:net/openldap${OPENLDAP_VER}-server
BUILD_DEPENDS= ${RUN_DEPENDS}
+NO_ARCH= yes
USES= perl5
USE_PERL5= configure
USE_OPENLDAP= yes
diff --git a/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm b/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm
index 164374c3e557..3a83f2fb73da 100644
--- a/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm
+++ b/devel/p5-Test-OpenLDAP/files/patch-OpenLDAP.pm
@@ -1,6 +1,6 @@
---- lib/Test/OpenLDAP.pm.orig 2013-03-13 19:05:02.000000000 +0900
-+++ lib/Test/OpenLDAP.pm 2014-05-23 00:01:21.347461487 +0900
-@@ -95,6 +95,8 @@
+--- lib/Test/OpenLDAP.pm.orig 2013-03-13 10:05:02 UTC
++++ lib/Test/OpenLDAP.pm
+@@ -95,6 +95,8 @@ sub new {
File::Spec->catdir( $self->{slapd_d_directory}, 'cn=config' );
$self->{cn_schema_directory} =
File::Spec->catdir( $self->{cn_config_directory}, 'cn=schema' );
@@ -9,7 +9,7 @@
$self->{cn_schema_ldif_path} =
File::Spec->catfile( $self->{cn_config_directory}, 'cn=schema.ldif' );
$self->{cn_schema_core_ldif_path} =
-@@ -123,6 +125,7 @@
+@@ -123,6 +125,7 @@ sub new {
mkdir $self->{db_directory}, oct USER_READ_WRITE_EXECUTE_PERMISSIONS()
or Carp::croak("Failed to mkdir $self->{db_directory}:$OS_ERROR");
$self->_create_config_ldif();
@@ -17,7 +17,7 @@
$self->_create_schema_ldif();
$self->_create_schema_core_ldif();
$self->{olc_database_for_config} = '{0}config';
-@@ -372,6 +375,34 @@
+@@ -372,6 +375,34 @@ __CONFIG_LDIF__
return;
}
@@ -52,7 +52,7 @@
sub _create_schema_ldif {
my ($self) = @_;
my $write_flags = Fcntl::O_WRONLY() | Fcntl::O_CREAT() | Fcntl::O_EXCL();
-@@ -1697,6 +1728,10 @@
+@@ -1697,6 +1728,10 @@ sub DESTROY {
or Carp::croak(
"Failed to unlink '$self->{olc_database_config_path}':$OS_ERROR");
$self->_remove_cn_schema_directory();
diff --git a/devel/p5-Test-OpenLDAP/pkg-plist b/devel/p5-Test-OpenLDAP/pkg-plist
index 6aca8b012574..97eef658662c 100644
--- a/devel/p5-Test-OpenLDAP/pkg-plist
+++ b/devel/p5-Test-OpenLDAP/pkg-plist
@@ -1,2 +1,2 @@
-%%PERL5_MAN3%%/Test::OpenLDAP.3.gz
%%SITE_PERL%%/Test/OpenLDAP.pm
+%%PERL5_MAN3%%/Test::OpenLDAP.3.gz