Index: Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/asr-utils/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 7 May 2005 23:05:07 -0000 1.6 +++ Makefile 3 Jun 2005 10:37:05 -0000 @@ -17,14 +17,19 @@ 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 .if ${OSVERSION} >= 500000 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/sysutils/asr-utils/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 25 Jun 2003 17:21:09 -0000 1.1 +++ pkg-plist 3 Jun 2005 10:37:05 -0000 @@ -16,4 +16,6 @@ dpt/dptsig dpt/raidutil dpt/read.me -../X11R6/lib/libXm.so.1 +@dirrm dpt +%%LIBXM%%@cwd %%X11BASE%% +%%LIBXM%%lib/libXm.so.1