summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-06-05 01:36:06 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-06-05 01:36:06 +0000
commit1a8dc2229305ef103582cb2ff96640e6ac9afffa (patch)
treea95445bf99103c816375451135dafad4e8e1e157
parentMark it as IGNORE; it doesn't run on BitTorrent 4.x yet. The author is working (diff)
Fix plist.
PR: 81833 Submitted-by: Vasil Dimov <vd@datamax.bg>
Notes
Notes: svn path=/head/; revision=136803
-rw-r--r--sysutils/asr-utils/Makefile9
-rw-r--r--sysutils/asr-utils/pkg-plist4
2 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/asr-utils/Makefile b/sysutils/asr-utils/Makefile
index 4d695977ff16..4ffe5f894275 100644
--- a/sysutils/asr-utils/Makefile
+++ b/sysutils/asr-utils/Makefile
@@ -17,14 +17,19 @@ EXTRACT_SUFX= .tgz
MAINTAINER= obrien@FreeBSD.org
COMMENT= Adaptec ASR RAID Management Software
-BROKEN= Incomplete pkg-plist
-
ONLY_FOR_ARCHS= i386
NO_WRKSUBDIR= yes
USE_XLIB= yes
BINS= dptcom dpteng dptscom dptsig raidutil dptmgr
+.if !exists(${X11BASE}/lib/libXm.so.1)
+# we shall install our own libXm.so.1, enable it in pkg-plist
+PLIST_SUB+= LIBXM=""
+.else
+PLIST_SUB+= LIBXM="@comment "
+.endif
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
diff --git a/sysutils/asr-utils/pkg-plist b/sysutils/asr-utils/pkg-plist
index b5f0d64450b0..542f99245d42 100644
--- a/sysutils/asr-utils/pkg-plist
+++ b/sysutils/asr-utils/pkg-plist
@@ -16,4 +16,6 @@ dpt/dptscom
dpt/dptsig
dpt/raidutil
dpt/read.me
-../X11R6/lib/libXm.so.1
+%%LIBXM%%@cwd %%X11BASE%%
+%%LIBXM%%lib/libXm.so.1
+@dirrm dpt