diff options
author | lofi <lofi@FreeBSD.org> | 2004-08-01 23:20:03 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-08-01 23:20:03 +0800 |
commit | 2dfd7a4d6c2e49d07c5cf0a439fa0ab335d58206 (patch) | |
tree | af3aef3aa0c63be646b292b7ea91dc52295196df /devel/valgrind | |
parent | aad52e64cb5f0d5af3343ba30309ef8d0c41b6d2 (diff) | |
download | freebsd-ports-gnome-2dfd7a4d6c2e49d07c5cf0a439fa0ab335d58206.tar.gz freebsd-ports-gnome-2dfd7a4d6c2e49d07c5cf0a439fa0ab335d58206.tar.zst freebsd-ports-gnome-2dfd7a4d6c2e49d07c5cf0a439fa0ab335d58206.zip |
valgrind installs different files on RELENG_4 & RELENG_5, add some
PLIST_SUB to deal with that.
Diffstat (limited to 'devel/valgrind')
-rw-r--r-- | devel/valgrind/Makefile | 8 | ||||
-rw-r--r-- | devel/valgrind/pkg-plist | 9 |
2 files changed, 13 insertions, 4 deletions
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 <bsd.port.pre.mk> +.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 |