Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 2708E7A46C for ; Sat, 9 Jul 2016 16:19:17 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 8FCEF85EA2; Sat, 9 Jul 2016 16:19:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2087585E74 for ; Sat, 9 Jul 2016 16:19:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id hc8A3cfnmfKt for ; Sat, 9 Jul 2016 16:19:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 695BB84CE9 for ; Sat, 9 Jul 2016 16:19:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 6357CFBB5; Sat, 9 Jul 2016 16:19:15 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_146808115514920" MIME-Version: 1.0 Date: Sat, 9 Jul 2016 16:19:15 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/doc/guide/files To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20160709161915.6357CFBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_146808115514920 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Sat Jul 9 16:19:15 UTC 2016 Modified Files: pkgsrc/doc/guide/files: fixes.xml infr.design.xml platforms.xml Log Message: Removed leading tabs from , to prevent empty lines from appearing in the output. To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 pkgsrc/doc/guide/files/fixes.xml cvs rdiff -u -r1.9 -r1.10 pkgsrc/doc/guide/files/infr.design.xml cvs rdiff -u -r1.97 -r1.98 pkgsrc/doc/guide/files/platforms.xml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_146808115514920 Content-Disposition: inline Content-Length: 6594 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/doc/guide/files/fixes.xml diff -u pkgsrc/doc/guide/files/fixes.xml:1.140 pkgsrc/doc/guide/files/fixes.xml:1.141 --- pkgsrc/doc/guide/files/fixes.xml:1.140 Sat Jul 9 16:07:35 2016 +++ pkgsrc/doc/guide/files/fixes.xml Sat Jul 9 16:19:15 2016 @@ -1,4 +1,4 @@ - + Making your package work @@ -325,9 +325,9 @@ ACCEPTABLE_LICENSES+=xv-license libraries to build and run, and if that package has a buildlink3.mk file available, use it: - + .include "../../graphics/jpeg/buildlink3.mk" - + @@ -335,9 +335,9 @@ ACCEPTABLE_LICENSES+=xv-license libraries only for building, and if that package has a buildlink3.mk file available, use it: - + .include "../../graphics/jpeg/buildlink3.mk" - + but set BUILDLINK_DEPMETHOD.jpeg?=build to make it a build dependency only. This case is rather @@ -348,9 +348,9 @@ ACCEPTABLE_LICENSES+=xv-license If your package needs binaries from another package to build, use the BUILD_DEPENDS definition: - + BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons - + @@ -370,9 +370,9 @@ BUILD_DEPENDS+= scons-[0-9]*:../../devel be able to execute the latex binary from the teTeX package when it runs, and that is specified: - + DEPENDS+= teTeX-[0-9]*:../../print/teTeX - + You can use wildcards in package dependencies. Note that @@ -390,9 +390,9 @@ DEPENDS+= teTeX-[0-9]*:../../prin will only build against a certain minimum version of a pre-requisite: - + DEPENDS+= ImageMagick>=6.0:../../graphics/ImageMagick - + This means that the package will build using version 6.0 of ImageMagick or newer. Such a dependency may be warranted @@ -816,13 +816,13 @@ EXTRACT_SUFX= .zip ar, ranlib, and ld -Bshareable commands, and instead use: - + ${LIBTOOL} --mode=link \ ${CC} -o ${.TARGET:.a=.la} \ ${OBJS:.o=.lo} \ -rpath ${PREFIX}/lib \ -version-info major:minor - + Note that the library is changed to have a .la extension, and the objects are @@ -838,7 +838,7 @@ ${LIBTOOL} --mode=link \ From the libtool manual: - + So, libtool library versions are described by three integers: CURRENT @@ -855,7 +855,7 @@ AGE' to `CURRENT'. If two libraries have identical CURRENT and AGE numbers, then the dynamic linker chooses the library with the greater REVISION number. - + The -release option will produce different results for a.out and ELF (excluding symlinks) @@ -896,15 +896,15 @@ dynamic linker chooses the library with expects you to change that argument to be the .la file. e.g. - + ${LIBTOOL} --mode=link ${CC} -o someprog -L../somelib -lsomelib - + should be changed to: - + ${LIBTOOL} --mode=link ${CC} -o someprog ../somelib/somelib.la - + and it will do the right thing with the libraries. @@ -915,9 +915,9 @@ ${LIBTOOL} --mode=link ${CC} -o , and change the library name to .la. e.g. - + ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${SOMELIB:.a=.la} ${PREFIX}/lib - + This will install the static .a, shared library, any needed symlinks, and run Index: pkgsrc/doc/guide/files/infr.design.xml diff -u pkgsrc/doc/guide/files/infr.design.xml:1.9 pkgsrc/doc/guide/files/infr.design.xml:1.10 --- pkgsrc/doc/guide/files/infr.design.xml:1.9 Fri Jun 10 21:21:42 2016 +++ pkgsrc/doc/guide/files/infr.design.xml Sat Jul 9 16:19:15 2016 @@ -1,4 +1,4 @@ - + Design of the pkgsrc infrastructure @@ -111,7 +111,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUF CONFIGURE_ARGS. To make the effect more clear, here is an example: - + CONFIGURE_ARGS= # none CFLAGS= -O CONFIGURE_ARGS+= CFLAGS=${CFLAGS:Q} @@ -119,7 +119,7 @@ CONFIGURE_ARGS+= CFLAGS=${CFLAGS: CONFIGURE_ARGS:= ${CONFIGURE_ARGS} CFLAGS+= -Wall - + This code shows how the use of the := operator can quickly lead to unexpected results. The first Index: pkgsrc/doc/guide/files/platforms.xml diff -u pkgsrc/doc/guide/files/platforms.xml:1.97 pkgsrc/doc/guide/files/platforms.xml:1.98 --- pkgsrc/doc/guide/files/platforms.xml:1.97 Sun Jul 3 19:25:16 2016 +++ pkgsrc/doc/guide/files/platforms.xml Sat Jul 9 16:19:15 2016 @@ -1,4 +1,4 @@ - + Using pkgsrc on systems other than &os; @@ -191,9 +191,9 @@ don't have a termcap/terminfo entry for it, but the following .termcap entry provides adequate emulation in most cases: - + interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: - + --_----------=_146808115514920--