Subject: Re: gimp question
To: =?iso-8859-1?Q?C=E9sar_Catri=E1n?= <cesar_catrian@yahoo.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 01/02/2003 18:03:16
--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Fri, Dec 27, 2002 at 10:05:12PM -0600, C=E9sar Catri=E1n wrote:
> Just to be sure:
>=20
> I had to add a symlink to
> /usr/pkg/etc/gimp/1.2/gimp/1.2/gimprc from
> /usr/pkg/etc/gimp/1.2/gimprc to make gimp work
> properly, making the extensions load at startup. I've
> noted this at the last upgrade, yesterday.
>=20
> Someone has this problem?

yes, i noticed that too.  there seems to be a problem with
PKG_SYSCONFDIR introduced in rev. 1.8.  PKG_SYSCONFSUBDIR is set _after_
PKG_SYSCONFDIR is used for --sysconfdir so has no effect for the
configure.

can you please test the following patch?  it seems to fix the problem
for me:

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/graphics/gimp-base/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	2002/12/28 22:47:57	1.10
+++ Makefile	2003/01/02 16:58:22
@@ -27,6 +27,8 @@
=20
 .include "../../mk/bsd.prefs.mk"
=20
+PKG_SYSCONFSUBDIR=3D	gimp/1.2
+
 GNU_CONFIGURE=3D		yes
 CONFIGURE_ARGS+=3D	--sysconfdir=3D${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=3D	--disable-perl
@@ -49,7 +51,6 @@
 BUILD_DEFS+=3D		GIMP_WITH_HELPBROWSER
=20
 # Configuration files
-PKG_SYSCONFSUBDIR=3D	gimp/1.2
 EGDIR=3D			${PREFIX}/share/examples/gimp/1.2
 CONF_FILES+=3D		${EGDIR}/gimprc ${PKG_SYSCONFDIR}/gimprc
 CONF_FILES+=3D		${EGDIR}/gimprc_user ${PKG_SYSCONFDIR}/gimprc_user


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+FHDTiwjDDlS8cmMRAtfbAKCH8WHtu14NuCKkr4mHyQo/osCJUACfbcck
i4xupukl026HmA0FHHNL2bs=
=mq3C
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--