aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-06-05 09:36:06 +0800
committerobrien <obrien@FreeBSD.org>2005-06-05 09:36:06 +0800
commit876a829621e384ecccf25fe86202510bc4e5845b (patch)
treee2e3c94f4d443b7eb6be2d916b985a59b3593300
parent61c722086b571b7a3d088f469776a1df8adff2c6 (diff)
downloadfreebsd-ports-gnome-876a829621e384ecccf25fe86202510bc4e5845b.tar.gz
freebsd-ports-gnome-876a829621e384ecccf25fe86202510bc4e5845b.tar.zst
freebsd-ports-gnome-876a829621e384ecccf25fe86202510bc4e5845b.zip
Fix plist.
PR: 81833 Submitted-by: Vasil Dimov <vd@datamax.bg>
-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