pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/9base Fix build on amd64. This is horrible co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95c7bd74dd1a
branches:  trunk
changeset: 547734:95c7bd74dd1a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Sep 30 14:41:03 2008 +0000

description:
Fix build on amd64. This is horrible code and e.g. using GCC builtins
would be much cleaner. Mark as destdir safe.

diffstat:

 sysutils/9base/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 89cf8ae6288d -r 95c7bd74dd1a sysutils/9base/Makefile
--- a/sysutils/9base/Makefile   Tue Sep 30 14:13:11 2008 +0000
+++ b/sysutils/9base/Makefile   Tue Sep 30 14:41:03 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/03/25 07:37:54 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/09/30 14:41:03 joerg Exp $
 #
 
 DISTNAME=      9base-20051114
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.suckless.org/wiki/wmii/download
 COMMENT=       Port of various original plan9 tools
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS=             rc-[0-9]*
 
 PKG_SHELL=             bin/rc
@@ -27,4 +29,7 @@
 CONFLICTS+=            gsed-[0-9]*
 .endif
 
+post-extract:
+       ${LN} -s getcallerpc-x86_64.c ${WRKSRC}/lib9/getcallerpc-amd64.c
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index