pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/golem Build modules with -fPIC. Bump revision. Add ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1e3c968a949d
branches: trunk
changeset: 567861:1e3c968a949d
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Nov 26 17:16:47 2009 +0000
description:
Build modules with -fPIC. Bump revision. Add destdir support.
diffstat:
wm/golem/Makefile | 15 ++++++++++-----
wm/golem/distinfo | 3 ++-
wm/golem/patches/patch-ag | 12 ++++++++++++
3 files changed, 24 insertions(+), 6 deletions(-)
diffs (70 lines):
diff -r fc71705d0e0a -r 1e3c968a949d wm/golem/Makefile
--- a/wm/golem/Makefile Thu Nov 26 17:04:18 2009 +0000
+++ b/wm/golem/Makefile Thu Nov 26 17:16:47 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2008/04/12 22:43:13 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2009/11/26 17:16:47 joerg Exp $
#
DISTNAME= golem-0.0.5
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=golem/}
@@ -10,6 +10,8 @@
HOMEPAGE= http://golem.sourceforge.net/
COMMENT= Fast and lightweight yet customizable window manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake yacc lex
GNU_CONFIGURE= YES
@@ -44,10 +46,13 @@
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_STAGE.paths= post-patch
+INSTALLATION_DIRS= ${EGDIR}
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
post-install:
- ${RM} -f ${PREFIX}/share/golem/golemrc*
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample.golem/golemrc ${EGDIR}/golemrc.default
+ ${RM} -f ${DESTDIR}${PREFIX}/share/golem/golemrc*
+ ${INSTALL_DATA} ${WRKSRC}/sample.golem/golemrc ${DESTDIR}${EGDIR}/golemrc.default
BUILDLINK_DEPMETHOD.libXt?= build
diff -r fc71705d0e0a -r 1e3c968a949d wm/golem/distinfo
--- a/wm/golem/distinfo Thu Nov 26 17:04:18 2009 +0000
+++ b/wm/golem/distinfo Thu Nov 26 17:16:47 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/12/06 15:20:31 joerg Exp $
+$NetBSD: distinfo,v 1.5 2009/11/26 17:16:47 joerg Exp $
SHA1 (golem-0.0.5.tar.gz) = 5939acf109502a2f962e20fa933b31970fb2ed74
RMD160 (golem-0.0.5.tar.gz) = 845d67cc96fbf34aca99c50bdccf4c1afdafb7f1
@@ -9,3 +9,4 @@
SHA1 (patch-ad) = ca2f91ea4587148543811729c8afc8e474b1c1ba
SHA1 (patch-ae) = 76ecf2c292a2d3af0a897a986e2a61c87dad4998
SHA1 (patch-af) = 3d74dacec56e4c953169300dd492ecdbb67d3302
+SHA1 (patch-ag) = 29b9e2068191a84d30224eb1103e68601a3da220
diff -r fc71705d0e0a -r 1e3c968a949d wm/golem/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/golem/patches/patch-ag Thu Nov 26 17:16:47 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2009/11/26 17:16:47 joerg Exp $
+
+--- plugins/Makefile.plugin.in.orig 2009-11-26 18:10:10.000000000 +0100
++++ plugins/Makefile.plugin.in
+@@ -1,6 +1,6 @@
+ # plugin makefiles include this
+ CC= @CC@
+-CFLAGS= @CFLAGS@ -I../../src/ -I../include/ @X_CFLAGS@
++CFLAGS= @CFLAGS@ -fPIC -I../../src/ -I../include/ @X_CFLAGS@
+ CFLAGS+= @DEFS@
+ LDFLAGS= @SHARED_FLAG@
+
Home |
Main Index |
Thread Index |
Old Index