pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/star If we're lucky, x86_64 will build with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/603920416088
branches:  trunk
changeset: 480651:603920416088
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Sat Sep 18 14:01:53 2004 +0000

description:
If we're lucky, x86_64 will build with i386's configuration.  Let's
see...

diffstat:

 archivers/star/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 2acf572758ac -r 603920416088 archivers/star/Makefile
--- a/archivers/star/Makefile   Sat Sep 18 13:34:28 2004 +0000
+++ b/archivers/star/Makefile   Sat Sep 18 14:01:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/07/28 02:47:35 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2004/09/18 14:01:53 uebayasi Exp $
 #
 
 DISTNAME=      star-1.4.3
@@ -14,6 +14,12 @@
 USE_GNU_TOOLS+=        make
 MAKE_FLAGS+=   INS_BASE=${PREFIX}
 
+.if "${OPSYS}" == "NetBSD" && "${MACHINE_ARCH}" == "x86_64"
+post-extract:
+       ${LN} -s ${WRKSRC}/RULES/i386-netbsd-cc.rul \
+           ${WRKSRC}/RULES/x86_64-netbsd-cc.rul
+.endif
+
 pre-build:
        @cd ${WRKSRC}/RULES && for i in arm mipsel; do                  \
                ${LN} -s i386-netbsd-cc.rul $$i-netbsd-cc.rul; done



Home | Main Index | Thread Index | Old Index