From 2dfd7a4d6c2e49d07c5cf0a439fa0ab335d58206 Mon Sep 17 00:00:00 2001 From: lofi Date: Sun, 1 Aug 2004 15:20:03 +0000 Subject: valgrind installs different files on RELENG_4 & RELENG_5, add some PLIST_SUB to deal with that. --- devel/valgrind/Makefile | 8 ++++++++ devel/valgrind/pkg-plist | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'devel/valgrind') diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile index 85ef0d522849..b4c31378faaf 100644 --- a/devel/valgrind/Makefile +++ b/devel/valgrind/Makefile @@ -26,6 +26,14 @@ USE_PERL5_BUILD=yes .include +.if ${OSVERSION} >= 500000 +PLIST_SUB+= RELENG_5="" +PLIST_SUB+= RELENG_4="@comment " +.else +PLIST_SUB+= RELENG_4="" +PLIST_SUB+= RELENG_5="@comment " +.endif + .if ${PERL_LEVEL} < 500601 IGNORE= "can\'t be built. Your Perl version is too old. Please use lang/perl5.8 port to upgrade your Perl" .endif diff --git a/devel/valgrind/pkg-plist b/devel/valgrind/pkg-plist index 7cb5ad588df9..9c74a03aa7e2 100644 --- a/devel/valgrind/pkg-plist +++ b/devel/valgrind/pkg-plist @@ -11,12 +11,13 @@ lib/valgrind/default.supp lib/valgrind/glibc-2.1.supp lib/valgrind/glibc-2.2.supp lib/valgrind/glibc-2.3.supp -lib/valgrind/libc_r.so.5 -lib/valgrind/libkse.so.1 +%%RELENG_4%%lib/valgrind/libc_r.so.4 +%%RELENG_5%%lib/valgrind/libc_r.so.5 +%%RELENG_5%%lib/valgrind/libkse.so.1 lib/valgrind/libpthread.so lib/valgrind/libpthread.so.0 -lib/valgrind/libpthread.so.1 -lib/valgrind/libthr.so.1 +%%RELENG_5%%lib/valgrind/libpthread.so.1 +%%RELENG_5%%lib/valgrind/libthr.so.1 lib/valgrind/stage2 lib/valgrind/valgrind lib/valgrind/vg_inject.so -- cgit