From d0f360eefbaf35fbd6f8325289791701b8de443a Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 30 Sep 2008 14:41:03 +0000 Subject: Fix build on amd64. This is horrible code and e.g. using GCC builtins would be much cleaner. Mark as destdir safe. --- sysutils/9base/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysutils/9base') 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" -- cgit v1.2.3