NetBSD source update | 10 Feb 02:08
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/audio/amarok-kde3/Makefile
P pkgsrc/databases/krecipes/Makefile
P pkgsrc/devel/Makefile
P pkgsrc/devel/dconf/Makefile
P pkgsrc/devel/dconf-editor/Makefile
P pkgsrc/devel/kdbg/Makefile
P pkgsrc/devel/kdiff3/Makefile
P pkgsrc/devel/libmemcached/Makefile
P pkgsrc/devel/py-coverage/Makefile
P pkgsrc/devel/xulrunner/distinfo
P pkgsrc/devel/xulrunner/patches/patch-me
P pkgsrc/doc/CHANGES-2012
P pkgsrc/doc/TODO
P pkgsrc/emulators/qemu/Makefile
P pkgsrc/games/boson/Makefile
P pkgsrc/games/knights/Makefile
P pkgsrc/games/six/Makefile
P pkgsrc/graphics/digikam-doc-kde3/Makefile
P pkgsrc/graphics/gwenview/Makefile
P pkgsrc/graphics/kbarcode/Makefile
P pkgsrc/graphics/kphotoalbum/Makefile
P pkgsrc/graphics/libgexiv2/Makefile
P pkgsrc/graphics/libkexif/Makefile
P pkgsrc/graphics/libkexiv2/Makefile
P pkgsrc/graphics/shotwell/Makefile
(Continue reading)

Aleksey Cheusov | 9 Feb 23:46
Picon
Favicon

SSLBASE vs. PREFER_PKGSRC=openssl

A lot of packages use SSLBASE/BUILDLINK_PREFIX.openssl variables in
order to find openssl base directory. These variables are not set
correctly if PREFER_PKGSRC=openssl.

   0 alpine>make show-vars VARNAMES='SSLBASE SSLCERTS'
   /usr
   /etc/openssl/certs
   0 alpine>make show-vars VARNAMES='SSLBASE SSLCERTS' PREFER_PKGSRC=openssl

   /usr/pkg/etc/openssl/certs
   0 alpine>

The following patch (-U12) solves the problem. Do you mind if commit it?

Index: security/openssl/builtin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/security/openssl/builtin.mk,v
retrieving revision 1.31
diff -u -U 12 -r1.31 builtin.mk
--- security/openssl/builtin.mk	17 Nov 2011 13:03:19 -0000	1.31
+++ security/openssl/builtin.mk	9 Feb 2012 22:47:06 -0000
@@ -161,24 +161,26 @@

 .  if !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
 .    if empty(H_OPENSSLV:M__nonexistent__)
 .      if !empty(H_OPENSSLV:M/usr/sfw/*)
 BUILDLINK_PREFIX.openssl=	/usr/sfw
 BUILDLINK_PASSTHRU_DIRS+=	/usr/sfw
 .      elif !empty(H_OPENSSLV:M/usr/*)
 BUILDLINK_PREFIX.openssl=	/usr
(Continue reading)

Manuel Bouyer | 9 Feb 13:10

unmodified configuration file that should not be removed

Hello,
I'm working on a package which has a special file that I do not know
how to handle. This file contains a version of the data structure
used by the software. On a first install, this script is generated
automatically. On subsequent install this file is not overwritten,
so that the software can deal with older data format.

How do we deal with this in pkgsrc ?
Adding it to the PLIST will cause it to be removed at pkg_add -u time,
which is not what we want.
Dealing with it using CONF_FILES or SUPPORT_FILES will have the same
problem, as this file should not be changed after install.

I think at make install time, this file should be generated in
share/example, and pkg_add should copy it to the right location if
it doesn't already exists; pkg_delete should never remove it.
How can I do this ?

--

-- 
Manuel Bouyer <bouyer <at> antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--

Grégoire Sutre | 9 Feb 11:43
Picon
Gravatar

How to prevent -O2 in CFLAGS?

Hi,

I'm trying to update a pkgsrc-wip package, but the new source fails to
build within pkgsrc (direct ./configure && gmake works fine).  It turns
out that this is due to CFLAGS containing `-O2' when the package is
configured via pkgsrc:

/usr/bin/env [...] CC=gcc 'CFLAGS=-O2 -pipe -I/usr/pkg/include [...]' 
/bin/sh './configure' [...]

Hopefully this problem will be solved upstream.  But, still, I'd like
to know how to prevent CFLAGS from containing `-O2', and, in general,
how to control the setting of CFLAGS.

Thanks for the help,

Grégoire

Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/comms/asterisk10/Makefile
P pkgsrc/comms/asterisk10/distinfo
P pkgsrc/comms/asterisk18/Makefile
P pkgsrc/comms/asterisk18/distinfo
P pkgsrc/devel/fossil/Makefile
U pkgsrc/devel/fossil/distinfo
P pkgsrc/devel/kscope/Makefile
P pkgsrc/devel/ruby-gnome2-glib/buildlink3.mk
P pkgsrc/devel/ruby-gnome2-pango/buildlink3.mk
P pkgsrc/doc/CHANGES-2012
P pkgsrc/doc/TODO
P pkgsrc/lang/pcc-current/Makefile
P pkgsrc/lang/pcc-current/PLIST
U pkgsrc/lang/pcc-current/distinfo
P pkgsrc/pkgtools/revbump/Makefile
P pkgsrc/pkgtools/revbump/files/revbump.1
P pkgsrc/security/skey/Makefile
P pkgsrc/x11/ruby-gnome2-gtk/buildlink3.mk

Killing core files:

Updating pkgsrc-2011Q4 pkgsrc tree (/ftp/pub/pkgsrc/pkgsrc-2011Q4):
? pkgsrc/INDEX
U pkgsrc/doc/CHANGES-pkgsrc-2011Q4
P pkgsrc/emulators/suse113_openssl/Makefile
(Continue reading)

Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/audio/csound5/distinfo
P pkgsrc/audio/csound5/patches/patch-ac
P pkgsrc/audio/darkice/distinfo
P pkgsrc/audio/darkice/patches/patch-src_Util.cpp
P pkgsrc/audio/mserv/distinfo
P pkgsrc/audio/mserv/patches/patch-af
P pkgsrc/audio/py-id3lib/distinfo
P pkgsrc/audio/py-id3lib/patches/patch-aa
P pkgsrc/biology/py-mol/Makefile
P pkgsrc/chat/kmess/Makefile
P pkgsrc/chat/kmess/distinfo
U pkgsrc/chat/kmess/patches/patch-kmess_prefix.cpp
P pkgsrc/converters/xlhtml/Makefile
P pkgsrc/devel/cvsup-bin/Makefile
P pkgsrc/devel/cvsup-bin/PLIST
cvs update: pkgsrc/devel/cvsup-bin/files/supfile-cvsup.no.netbsd.org is no longer in the repository
U pkgsrc/devel/cvsup-bin/files/supfile-cvsup.se.netbsd.org
P pkgsrc/devel/libmemcached/Makefile
P pkgsrc/devel/libmemcached/PLIST
P pkgsrc/devel/libmemcached/buildlink3.mk
U pkgsrc/devel/libmemcached/distinfo
U pkgsrc/devel/libmemcached/patches/patch-configure
P pkgsrc/devel/libtool-base/Makefile
P pkgsrc/devel/py-dulwich/Makefile
P pkgsrc/devel/py-dulwich/PLIST
(Continue reading)

Filip Hajny | 7 Feb 14:01
Favicon
Gravatar

libtool-base SunOS/64 bug

Hi guys,

I'd like to commit this tiny patch to libtool-base, which fixes CXX linking on SunOS and ABI=64. Unless -m64
shows up in the CFLAGS, the resulting libtool script contains references to 32bit stdlib objects (crti.o
at al.), which breaks builds with ABI=64 where libtool is used to link C++ objects. (One such example is devel/libmemcached.)

Libtool being a bit of a voodoo craft, I'd like to get approval from someone first.

-F

diff --git a/devel/libtool-base/Makefile b/devel/libtool-base/Makefile
index b3fdfe5..53b204e 100644
--- a/devel/libtool-base/Makefile
+++ b/devel/libtool-base/Makefile
@@ -57,6 +57,10 @@ CONFIGURE_ARGS+=     --disable-libtool-lock
 CONFIGURE_ARGS+=       --disable-shared
 BUILD_SHLIBTOOL=       NO
 .  endif
+.elif ${OPSYS} == "SunOS"
+.  if !empty(ABI:M64)
+CFLAGS+=               -m64
+.  endif
 .endif

 BUILD_SHLIBTOOL?=      YES
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/archivers/file-roller/Makefile
P pkgsrc/audio/SDL_mixer/Makefile
P pkgsrc/audio/akode-plugins-pulseaudio/Makefile
P pkgsrc/audio/albumplayer/Makefile
P pkgsrc/audio/alsa-plugins-pulse/Makefile
P pkgsrc/audio/amarok/Makefile
P pkgsrc/audio/amarok-kde3/Makefile
P pkgsrc/audio/ario/Makefile
P pkgsrc/audio/arts/Makefile
P pkgsrc/audio/arts/buildlink3.mk
P pkgsrc/audio/audacious/Makefile
P pkgsrc/audio/audacious/buildlink3.mk
P pkgsrc/audio/audacious-plugins/Makefile
P pkgsrc/audio/audacity/Makefile
P pkgsrc/audio/aumix-gtk/Makefile
P pkgsrc/audio/bmp/Makefile
P pkgsrc/audio/bmp/buildlink3.mk
P pkgsrc/audio/bmp-esound/Makefile
P pkgsrc/audio/bmp-flac/Makefile
P pkgsrc/audio/bmp-mac/Makefile
P pkgsrc/audio/bmp-musepack/Makefile
P pkgsrc/audio/bmp-pulse/Makefile
P pkgsrc/audio/bmp-scrobbler/Makefile
P pkgsrc/audio/bmpx/Makefile
P pkgsrc/audio/bsl/Makefile
(Continue reading)

Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/audio/SDL_mixer/Makefile
P pkgsrc/audio/bml/Makefile
P pkgsrc/audio/csound5/Makefile
P pkgsrc/audio/fluidsynth/buildlink3.mk
P pkgsrc/audio/gst-buzztard/Makefile
P pkgsrc/audio/libsidplay2/distinfo
U pkgsrc/audio/libsidplay2/patches/patch-builders_hardsid-builder_src_hardsid-builder.cpp
P pkgsrc/audio/libspiff/distinfo
U pkgsrc/audio/libspiff/patches/patch-src_SpiffPropsWriter.cpp
U pkgsrc/audio/libspiff/patches/patch-src_SpiffWriter.cpp
U pkgsrc/audio/libspiff/patches/patch-src_SpiffXmlFormatter.cpp
P pkgsrc/audio/mad123/Makefile
P pkgsrc/audio/mad123/distinfo
P pkgsrc/audio/mad123/patches/patch-ab
U pkgsrc/audio/mad123/patches/patch-audio__dev.h
P pkgsrc/audio/maplay/distinfo
P pkgsrc/audio/maplay/patches/patch-ac
P pkgsrc/audio/mkcdtoc/distinfo
P pkgsrc/audio/mkcdtoc/patches/patch-aa
P pkgsrc/audio/mpg123-sun/Makefile
P pkgsrc/audio/mserv-irman/distinfo
U pkgsrc/audio/mserv-irman/patches/patch-Makefile
P pkgsrc/audio/mstream/distinfo
U pkgsrc/audio/mstream/patches/patch-Makefile
P pkgsrc/audio/musicpd/Makefile
(Continue reading)

Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/audio/bml/Makefile
P pkgsrc/audio/cam/distinfo
P pkgsrc/audio/cam/patches/patch-ac
P pkgsrc/audio/csound5/Makefile
P pkgsrc/audio/csound5/PLIST
P pkgsrc/audio/darkice/distinfo
U pkgsrc/audio/darkice/patches/patch-src_Util.cpp
P pkgsrc/audio/flactag/distinfo
U pkgsrc/audio/flactag/patches/patch-CommandLine.cc
U pkgsrc/audio/flactag/patches/patch-ConfigFile.cc
U pkgsrc/audio/flactag/patches/patch-ErrorLog.cc
U pkgsrc/audio/flactag/patches/patch-FileNameBuilder.cc
P pkgsrc/audio/flactag/patches/patch-aa
P pkgsrc/audio/kid3/Makefile
P pkgsrc/doc/CHANGES-2012
P pkgsrc/doc/TODO
P pkgsrc/games/xfrisk/Makefile
P pkgsrc/games/xfrisk/distinfo
U pkgsrc/games/xfrisk/patches/patch-gui_c
P pkgsrc/graphics/gimp/Makefile
P pkgsrc/graphics/gimp/PLIST
P pkgsrc/graphics/gimp/distinfo
P pkgsrc/graphics/gimp/patches/patch-aa
P pkgsrc/graphics/gimp/patches/patch-ab
cvs update: pkgsrc/graphics/gimp/patches/patch-ae is no longer in the repository
(Continue reading)

Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/databases/rrdtool/Makefile
P pkgsrc/databases/rrdtool/distinfo
U pkgsrc/databases/rrdtool/patches/patch-aa
U pkgsrc/databases/rrdtool/patches/patch-ab
P pkgsrc/devel/atkmm/Makefile
P pkgsrc/devel/atkmm/PLIST
U pkgsrc/devel/atkmm/distinfo
P pkgsrc/devel/gconfmm/Makefile
P pkgsrc/devel/gconfmm/PLIST
U pkgsrc/devel/gconfmm/distinfo
P pkgsrc/devel/glibmm/Makefile
P pkgsrc/devel/glibmm/PLIST
U pkgsrc/devel/glibmm/distinfo
P pkgsrc/devel/gnatpython/Makefile
P pkgsrc/devel/gnatpython/PLIST
P pkgsrc/devel/libgee/Makefile
U pkgsrc/devel/libgee/distinfo
P pkgsrc/devel/pango/Makefile
P pkgsrc/devel/pango/PLIST
P pkgsrc/devel/pango/options.mk
P pkgsrc/devel/pangomm/Makefile
P pkgsrc/devel/pangomm/PLIST
U pkgsrc/devel/pangomm/distinfo
P pkgsrc/devel/py-ordereddict/Makefile
P pkgsrc/devel/roundup/Makefile
(Continue reading)


Gmane