summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-05-10 17:46:28 +0000
committerminskim <minskim@pkgsrc.org>2004-05-10 17:46:28 +0000
commite3c666f6e8f76835c5e35b369b44be3ec4aece91 (patch)
treee2cd7c7a2d058dd6b71e808250c85adca5c1389e
parent648db862d978c451da79c0ecc18dd39f0abae9f7 (diff)
downloadpkgsrc-e3c666f6e8f76835c5e35b369b44be3ec4aece91.tar.gz
- Replace USE_X11BASE with USE_X11 and do not create a symlink in
LOCALBASE. - Remove unnecessary references to X11BASE and LOCALBASE. - Enable pkgviews installation. OK'ed by tron@, the maintainer.
-rw-r--r--x11/gnome-libs/Makefile18
-rw-r--r--x11/gnome-libs/PLIST4
2 files changed, 7 insertions, 15 deletions
diff --git a/x11/gnome-libs/Makefile b/x11/gnome-libs/Makefile
index b7a4bc9a6fa..e37e7505f1f 100644
--- a/x11/gnome-libs/Makefile
+++ b/x11/gnome-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.102 2004/04/14 16:15:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.103 2004/05/10 17:46:28 minskim Exp $
DISTNAME= gnome-libs-1.4.2
PKGREVISION= 3
@@ -9,10 +9,12 @@ MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Libraries for the GNU Network Object Model Environment
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
BUILD_USES_MSGFMT= YES
USE_DIRS+= gnome1-1.5
-USE_X11BASE= YES
+USE_X11= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
@@ -20,20 +22,15 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--enable-gtk-doc=no \
--with-html-dir=${PREFIX}/share/doc/html \
- --with-glib-prefix=${LOCALBASE} \
--with-kde-datadir=${X11PREFIX}/share/kde
-CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
- X11BASE=${X11BASE} \
- PKGLOCALEDIR=${PKGLOCALEDIR}
+CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
CONFIGURE_ENV+= ${CONFIGURE_ENV.db-${BDB_TYPE}}
USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
LOCALSTATEDIR= /var/gnome
-PLIST_SUBST+= LOCALBASE=${LOCALBASE} \
- LOCALEDIR=${LOCALEDIR} \
- LOCALSTATEDIR=${LOCALSTATEDIR}
+PLIST_SUBST+= LOCALSTATEDIR=${LOCALSTATEDIR}
.include "../../audio/esound/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
@@ -67,8 +64,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/CORBA/servers
${TOUCH} ${PREFIX}/etc/CORBA/servers/.directory
${INSTALL_DATA_DIR} ${LOCALSTATEDIR}
- ${TEST} ${PREFIX} = ${LOCALBASE} || \
- ${LN} -fs ${PREFIX}/share/aclocal/libart.m4 \
- ${LOCALBASE}/share/aclocal/libart.m4
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gnome-libs/PLIST b/x11/gnome-libs/PLIST
index 76762640909..82720c6a14d 100644
--- a/x11/gnome-libs/PLIST
+++ b/x11/gnome-libs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2004/02/18 11:56:02 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.16 2004/05/10 17:46:28 minskim Exp $
bin/dns-helper
bin/gconfigger
bin/gnome-bug
@@ -609,7 +609,5 @@ share/type-convert/type.convert
@unexec ${RMDIR} %D/etc/sound 2>/dev/null || ${TRUE}
@dirrm etc/CORBA/servers
@dirrm etc/CORBA
-@exec test %D = ${LOCALBASE} || ln -s %D/share/aclocal/libart.m4 ${LOCALBASE}/share/aclocal/libart.m4
-@unexec test %D = ${LOCALBASE} || ${RM} -f ${LOCALBASE}/share/aclocal/libart.m4
@exec ${MKDIR} ${LOCALSTATEDIR}
@unexec ${RM} -rf ${LOCALSTATEDIR}