From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 9 07:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 871821D4 for ; Sun, 9 Mar 2014 07:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 63606D4B for ; Sun, 9 Mar 2014 07:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s297U0q7099946 for ; Sun, 9 Mar 2014 07:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s297U03s099945; Sun, 9 Mar 2014 07:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 9 Mar 2014 07:30:00 GMT Resent-Message-Id: <201403090730.s297U03s099945@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frederic Culot Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 752CA1A2 for ; Sun, 9 Mar 2014 07:23:42 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 55DAFD28 for ; Sun, 9 Mar 2014 07:23:42 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s297Ng13097664 for ; Sun, 9 Mar 2014 07:23:42 GMT (envelope-from culot@freefall.freebsd.org) Received: (from culot@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s297NgPu097663; Sun, 9 Mar 2014 07:23:42 GMT (envelope-from culot) Message-Id: <201403090723.s297NgPu097663@freefall.freebsd.org> Date: Sun, 9 Mar 2014 07:23:42 GMT From: Frederic Culot To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187387: misc/ossp-uuid: broken Perl binding X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Frederic Culot List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2014 07:30:00 -0000 >Number: 187387 >Category: ports >Synopsis: misc/ossp-uuid: broken Perl binding >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 09 07:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Frederic Culot >Release: FreeBSD 11.0-CURRENT amd64 >Organization: FreeBSD >Environment: System: FreeBSD freefall.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r262685: Sun Mar 2 11:35:38 UTC 2014 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64 >Description: Hi, ossp-uuid's Perl binding is broken currently. The patch below was kindly provided by az@ and fixes the issue. Could you please update this port using the provided patch so that the Perl module would build again? Many thanks! PS: do you happen to remember why the library was renamed from libuuid.la to libuuid.a in the first place? >How-To-Repeat: cd misc/ossp-uuid && make WITH_PERL=1 install >Fix: Index: misc/ossp-uuid/Makefile =================================================================== --- misc/ossp-uuid/Makefile (revision 347530) +++ misc/ossp-uuid/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= uuid PORTVERSION= 1.6.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc devel MASTER_SITES= ${MASTER_SITE_OSSP} MASTER_SITE_SUBDIR= lib/${PORTNAME} @@ -20,14 +20,15 @@ --includedir=${PREFIX}/include/ossp .if defined(WITH_PERL) +MAKE_JOBS_UNSAFE= yes USES+= perl5 CONFIGURE_ENV+= PERL=${PERL5} CONFIGURE_ARGS+= --with-perl -PLIST_SUB+= WITH_PERL='' +PLIST_SUB+= WITH_PERL="" MAN3= OSSP::uuid.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER} .else -PLIST_SUB+= WITH_PERL='@comment ' +PLIST_SUB+= WITH_PERL="@comment " .endif .include Index: misc/ossp-uuid/files/patch-perl__Makefile.PL =================================================================== --- misc/ossp-uuid/files/patch-perl__Makefile.PL (revision 0) +++ misc/ossp-uuid/files/patch-perl__Makefile.PL (working copy) @@ -0,0 +1,15 @@ +--- ./perl/Makefile.PL.orig 2014-03-09 09:35:38.194191962 +0400 ++++ ./perl/Makefile.PL 2014-03-09 09:35:56.845209501 +0400 +@@ -33,9 +33,9 @@ + use ExtUtils::MakeMaker; + + # determine source directory +-my ($srcdir) = map { my $d = $_; $d =~ s/\/libuuid\.la$//; $d } +- grep { -f $_ } ("../libuuid.la", glob("../*/libuuid.la")) +- or die "no source directory found (where libuuid.la is located)"; ++my ($srcdir) = map { my $d = $_; $d =~ s/\/libuuid\.a$//; $d } ++ grep { -f $_ } ("../libuuid.a", glob("../*/libuuid.a")) ++ or die "no source directory found (where libuuid.a is located)"; + + # determine extra build options + my $compat = 0; Index: misc/ossp-uuid/pkg-plist =================================================================== --- misc/ossp-uuid/pkg-plist (revision 347530) +++ misc/ossp-uuid/pkg-plist (working copy) @@ -6,6 +6,11 @@ lib/libuuid++.a lib/libuuid++.la libdata/pkgconfig/uuid.pc +man/man1/uuid-config.1.gz +man/man1/uuid.1.gz +man/man3/uuid.3.gz +man/man3/uuid++.3.gz +%%WITH_PERL%%%%PERL5_MAN3%%/OSSP::uuid.3.gz %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/OSSP/uuid.pm %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/OSSP/uuid.pod %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/OSSP/uuid/.packlist >Release-Note: >Audit-Trail: >Unformatted: