tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Broken binaries again



 >> As Joerg said there are a few packages that cannot
 >> generate correct
 >> REQUIRES for a number of reasons.
 >> We need a mechanism in pkgsrc for marking such packages as such.
 >> And then we'll have a chance to have no output from 'pkg_lint_summary -l'
 >> and no annoying periodic emails.

> CHECK_SHLIBS_SUPPORTED=       NO

Thanks. As far as I can see this variable is widely used in packages.
However there is one problem with it. It disables both PROVIDES and
REQUIRES but only REQUIRES should be disabled. Disabling the former may
break PROVIDES/REQUIRES consistency with other packages.

The following patch solves the problem of temporary directories in
REQUIRES. I raised it in November.
http://mail-index.netbsd.org/tech-pkg/2011/11/19/msg008014.html

Objections?

Index: lang/openjdk7/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/openjdk7/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- lang/openjdk7/Makefile      16 May 2012 08:55:45 -0000      1.34
+++ lang/openjdk7/Makefile      19 May 2012 06:34:17 -0000
@@ -2,7 +2,7 @@
 
 DISTNAME=      openjdk-7-fcs-src-b147-27_jun_2011
 PKGNAME=       openjdk7-1.7.0.147.20110811
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_LOCAL:=openjdk7/}
 EXTRACT_SUFX=  .tar.bz2
@@ -44,6 +44,7 @@
 USE_TOOLS+=            gmake pax unzip:run zip:run patch
 UNLIMIT_RESOURCES=     datasize stacksize
 WRKSRC=                        ${WRKDIR}/openjdk
+CHECK_SHLIBS_SUPPORTED=        no
 
 BUILDLINK_PASSTHRU_DIRS+=      ${ALT_BOOTDIR}
 PREPEND_PATH+=                 ${ALT_BOOTDIR}/bin
Index: www/aws/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/aws/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- www/aws/Makefile    16 Mar 2012 04:31:15 -0000      1.5
+++ www/aws/Makefile    19 May 2012 06:34:17 -0000
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=      aws-${AWS_VERSION}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    www
 MASTER_SITES=  http://downloads.dragonlace.net/src/ \
                http://dragonlace.mirrors.ada.cx/src/
@@ -16,6 +16,7 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 AWS_VERSION=           2.10.0.1
 USE_TOOLS+=            gmake makeinfo sed gawk
+CHECK_SHLIBS_SUPPORTED=        no
 
 PYTHON_VERSIONS_ACCEPTED=      26 27
 

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index