pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/sformat DESTDIR support. Fix build on amd64.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8df534a28c8e
branches: trunk
changeset: 554139:8df534a28c8e
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Feb 09 17:27:40 2009 +0000
description:
DESTDIR support. Fix build on amd64.
diffstat:
sysutils/sformat/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 547c77f187e7 -r 8df534a28c8e sysutils/sformat/Makefile
--- a/sysutils/sformat/Makefile Mon Feb 09 17:04:49 2009 +0000
+++ b/sysutils/sformat/Makefile Mon Feb 09 17:27:40 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/06/27 13:40:49 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2009/02/09 17:27:40 joerg Exp $
#
DISTNAME= sformat-3.5
@@ -11,6 +11,7 @@
COMMENT= SCSI disk maintainance, formating, and ultimative repair tool with support for NetBSD labels
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
@@ -22,7 +23,7 @@
MAKE_ENV+= MAKEPROG="gmake"
MAKE_ENV+= COPTX=${CFLAGS:M*:Q}
MAKE_ENV+= LDOPTX=${LDFLAGS:M*:Q}
-MAKE_FLAGS+= INS_BASE=${LOCALBASE:Q} # won't work in MAKE_ENV!
+MAKE_FLAGS+= INS_BASE=${DESTDIR}${LOCALBASE:Q} # won't work in MAKE_ENV!
# if we're using a gcc which is named gcc, we need to set CCOM=gcc
# in MAKE_ENV so the make infrastructure picks the right options.
@@ -35,5 +36,6 @@
post-extract:
${CP} ${WRKSRC}/RULES/os-freebsd.id ${WRKSRC}/RULES/os-dragonfly.id
${CP} ${WRKSRC}/RULES/os-freebsd.def ${WRKSRC}/RULES/os-dragonfly.def
+ ln -s i386-netbsd-cc.rul ${WRKSRC}/RULES/amd64-netbsd-cc.rul
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index