summaryrefslogtreecommitdiff
path: root/sysutils/9base
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-09-30 14:41:03 +0000
committerjoerg <joerg@pkgsrc.org>2008-09-30 14:41:03 +0000
commitd0f360eefbaf35fbd6f8325289791701b8de443a (patch)
tree509a26e14023ca141856c7a1866127ffccca0835 /sysutils/9base
parentc8fad73760c85a7a7fa60787a602dcc406342040 (diff)
downloadpkgsrc-d0f360eefbaf35fbd6f8325289791701b8de443a.tar.gz
Fix build on amd64. This is horrible code and e.g. using GCC builtins
would be much cleaner. Mark as destdir safe.
Diffstat (limited to 'sysutils/9base')
-rw-r--r--sysutils/9base/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/9base/Makefile b/sysutils/9base/Makefile
index 09b1ccd7236..fee4ffca622 100644
--- a/sysutils/9base/Makefile
+++ b/sysutils/9base/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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+= grep-[0-9]*
CONFLICTS+= gsed-[0-9]*
.endif
+post-extract:
+ ${LN} -s getcallerpc-x86_64.c ${WRKSRC}/lib9/getcallerpc-amd64.c
+
.include "../../mk/bsd.pkg.mk"