diff options
author | stacktic <stacktic@pkgsrc.org> | 2009-11-15 15:09:46 +0000 |
---|---|---|
committer | stacktic <stacktic@pkgsrc.org> | 2009-11-15 15:09:46 +0000 |
commit | 92d9bf11285ada6f6f904cf86a7c12b43e45fe90 (patch) | |
tree | 5d5f39dca5fcd73aeaf56fc140fe2e634f4c585b /misc | |
parent | 32051efb6132c5e51e59ef0cfaddc429a5f6b2b1 (diff) | |
download | pkgsrc-92d9bf11285ada6f6f904cf86a7c12b43e45fe90.tar.gz |
Fixed build on Linux/x86_64 CentOS5 (RHEL5).
Reported and Fixed by Nicolas Joly.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/rump/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/misc/rump/Makefile b/misc/rump/Makefile index 6067bcebff3..1557f1a0da2 100644 --- a/misc/rump/Makefile +++ b/misc/rump/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.12 2009/11/10 16:10:47 stacktic Exp $ +# $NetBSD: Makefile,v 1.13 2009/11/15 15:09:46 stacktic Exp $ # DISTNAME= rump_20091108 PKGNAME= ${DISTNAME:S/_/-/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= misc MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/stacktic/ @@ -35,6 +35,14 @@ SUBST_SED.alloc+= -e "s|SRCS.*subr_pool.*|\# &|" .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Linux" + +SUBST_CLASSES+= crt +SUBST_STAGE.crt= pre-configure +SUBST_MESSAGE.crt= Fix crt path. +SUBST_FILES.crt= share/mk/bsd.lib.mk share/mk/bsd.prog.mk +SUBST_SED.crt= -e "s|lib/crt|lib$$\{LIBABISUFFIX\}/crt|" +MAKEFLAGS+= LIBABISUFFIX=${LIBABISUFFIX} + MAKEFLAGS+= MACHINE=${MACHINE_ARCH:C/x86_64/amd64/} CRT_PATH!= gcc --print-file-name=crtbegin.o |