From 3ba033d8b5d820a0a184853f14e4c519145d556e Mon Sep 17 00:00:00 2001 From: "Lev A. Serebryakov" Date: Sun, 12 Dec 2010 17:29:22 +0000 Subject: [PATCH] Cleanup pkg-plist. Reported by: Andrzej Tobola --- sysutils/graid5/Makefile | 3 ++- sysutils/graid5/pkg-plist | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sysutils/graid5/Makefile b/sysutils/graid5/Makefile index 4167757e14f6..aa2a6e593746 100644 --- a/sysutils/graid5/Makefile +++ b/sysutils/graid5/Makefile @@ -7,6 +7,7 @@ PORTNAME= graid5 PORTVERSION= ${MAINVERSION}.${VERSIONDATE} +PORTREVISION= 1 CATEGORIES= sysutils kld MASTER_SITES= http://lev.serebryakov.spb.ru/download/graid5/ @@ -21,7 +22,7 @@ MAINVERSION=1.0 VERSIONDATE=20101212.29 KMODDIR?= /boot/modules -PLIST_SUB+= KMODDIR=${KMODDIR} +PLIST_SUB+= KMODDIR=${KMODDIR:C,^/,,} MAKE_ENV+= KMODDIR=${KMODDIR} MANCOMPRESSED= yes diff --git a/sysutils/graid5/pkg-plist b/sysutils/graid5/pkg-plist index d0258bf19056..19181cb22893 100644 --- a/sysutils/graid5/pkg-plist +++ b/sysutils/graid5/pkg-plist @@ -2,5 +2,5 @@ %%KMODDIR%%/geom_raid5.ko lib/geom/geom_raid5.so sbin/graid5 -@exec kldxref %%KMODDIR%% -@unexec kldxref %%KMODDIR%% +@exec kldxref /%%KMODDIR%% +@unexec kldxref /%%KMODDIR%%