pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/wxGTK24 Do not leak .buildlink into final binaries...
details: https://anonhg.NetBSD.org/pkgsrc/rev/092ce0503998
branches: trunk
changeset: 567945:092ce0503998
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Nov 29 20:16:20 2009 +0000
description:
Do not leak .buildlink into final binaries. destdir support
diffstat:
x11/wxGTK24/Makefile | 11 +++++++----
x11/wxGTK24/Makefile.common | 6 ++++--
x11/wxGTK24/distinfo | 4 ++--
x11/wxGTK24/patches/patch-aa | 4 ++--
4 files changed, 15 insertions(+), 10 deletions(-)
diffs (84 lines):
diff -r 742df4eb910d -r 092ce0503998 x11/wxGTK24/Makefile
--- a/x11/wxGTK24/Makefile Sun Nov 29 19:14:41 2009 +0000
+++ b/x11/wxGTK24/Makefile Sun Nov 29 20:16:20 2009 +0000
@@ -1,15 +1,18 @@
-# $NetBSD: Makefile,v 1.8 2009/08/26 20:24:12 sno Exp $
+# $NetBSD: Makefile,v 1.9 2009/11/29 20:16:20 joerg Exp $
#
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "Makefile.common"
-PKGREVISION= 13
+PKGREVISION= 14
COMMENT= GTK-based implementation of the wxWidgets GUI library
CONFLICTS+= wxGTK<=2.4.2nb5
+INSTALLATION_DIRS= ${DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCDIR}/LICENSE
+ ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 742df4eb910d -r 092ce0503998 x11/wxGTK24/Makefile.common
--- a/x11/wxGTK24/Makefile.common Sun Nov 29 19:14:41 2009 +0000
+++ b/x11/wxGTK24/Makefile.common Sun Nov 29 20:16:20 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2009/01/25 20:12:14 shattered Exp $
+# $NetBSD: Makefile.common,v 1.6 2009/11/29 20:16:20 joerg Exp $
#
DISTNAME= wxGTK-2.4.2
@@ -23,12 +23,14 @@
CONFIGURE_ARGS+= --with-zlib=sys
CONFIGURE_ARGS+= --with-libpng=sys
CONFIGURE_ARGS+= --with-libtiff=sys
-CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR:Q}
CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
DOCDIR= ${PREFIX}/share/doc/wx/gtk
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
.include "../../mk/bsd.prefs.mk"
# This is needed for gtk on some platforms and
diff -r 742df4eb910d -r 092ce0503998 x11/wxGTK24/distinfo
--- a/x11/wxGTK24/distinfo Sun Nov 29 19:14:41 2009 +0000
+++ b/x11/wxGTK24/distinfo Sun Nov 29 20:16:20 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2009/10/23 10:55:06 plunky Exp $
+$NetBSD: distinfo,v 1.9 2009/11/29 20:16:20 joerg Exp $
SHA1 (wxGTK-2.4.2.tar.bz2) = 3f1ebacaaf8eb5510c14ee10bafbc5f225be842c
RMD160 (wxGTK-2.4.2.tar.bz2) = 8076d1ba31c9b23becb241cbad5a83763fee776e
Size (wxGTK-2.4.2.tar.bz2) = 5381935 bytes
-SHA1 (patch-aa) = b59c62219e29e01b154feda85916c654570b680c
+SHA1 (patch-aa) = 1d6b86da5e7a1fd3a13805465e9059d21dbbfc7a
SHA1 (patch-ab) = bab52051778a93439cfd3144f052bdbcc7024e30
SHA1 (patch-ac) = 06a047a28260d30516b87d85a4dd4d5a6c18cfc4
SHA1 (patch-ad) = 809a12f89b018373910b31442dfd315276cafbdf
diff -r 742df4eb910d -r 092ce0503998 x11/wxGTK24/patches/patch-aa
--- a/x11/wxGTK24/patches/patch-aa Sun Nov 29 19:14:41 2009 +0000
+++ b/x11/wxGTK24/patches/patch-aa Sun Nov 29 20:16:20 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2005/11/07 17:58:00 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2009/11/29 20:16:20 joerg Exp $
--- configure.orig 2003-09-21 13:31:30.000000000 +0200
+++ configure
@@ -17,7 +17,7 @@
\
- /usr/openwin/share/include"
+ /usr/openwin/share/include\
-+ ${BUILDLINK_DIR}/include"
++ ${PREFIX}/include"
-SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
+SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
Home |
Main Index |
Thread Index |
Old Index