summaryrefslogtreecommitdiff
path: root/misc/rump/Makefile
diff options
context:
space:
mode:
authorstacktic <stacktic@pkgsrc.org>2009-11-16 15:29:57 +0000
committerstacktic <stacktic@pkgsrc.org>2009-11-16 15:29:57 +0000
commit7a8189ffc69d9eb80d744f50dcc72b4597a20ebf (patch)
tree0d4fb10f6f72f08d479e5260fa0a24e03a201075 /misc/rump/Makefile
parent046548a530c0eb8598f631963d078f049e4913ee (diff)
downloadpkgsrc-7a8189ffc69d9eb80d744f50dcc72b4597a20ebf.tar.gz
Fixed dlopen usage for Linux/x86_64 CentOS5 (RHEL5).
Reported and Fixed by Nicolas Joly. Bump revision.
Diffstat (limited to 'misc/rump/Makefile')
-rw-r--r--misc/rump/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/rump/Makefile b/misc/rump/Makefile
index 1557f1a0da2..22ad46a895a 100644
--- a/misc/rump/Makefile
+++ b/misc/rump/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2009/11/15 15:09:46 stacktic Exp $
+# $NetBSD: Makefile,v 1.14 2009/11/16 15:29:57 stacktic Exp $
#
DISTNAME= rump_20091108
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/stacktic/
@@ -43,6 +43,12 @@ 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}
+SUBST_CLASSES+= dl
+SUBST_STAGE.dl= pre-configure
+SUBST_MESSAGE.dl= Fix dlopen.
+SUBST_FILES.dl= lib/libukfs/ukfs.c
+SUBST_SED.dl= -e "s|RTLD_GLOBAL|&\|RTLD_LAZY|"
+
MAKEFLAGS+= MACHINE=${MACHINE_ARCH:C/x86_64/amd64/}
CRT_PATH!= gcc --print-file-name=crtbegin.o