Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-toolkits/blt/Makefile,v retrieving revision 1.45 diff -u -r1.45 Makefile --- Makefile 28 Nov 2005 07:08:15 -0000 1.45 +++ Makefile 1 Dec 2006 20:20:30 -0000 @@ -17,7 +17,7 @@ ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/ PATCH_SITE_SUBDIR= ${PORTNAME} PATCHFILES= blt2.4z-patch-2 -PATCH_DIST_STRIP= -p1 +PATCH_DIST_STRIP= -p1 MAINTAINER= kjc@iijlab.net COMMENT= A Tk extension (with shared libs) @@ -34,12 +34,20 @@ --with-tklibs=${LOCALBASE}/lib/ \ --with-tclincls=${LOCALBASE}/include/tcl${TK_VER} \ --with-tkincls=${LOCALBASE}/include/tk${TK_VER} -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes TK_VER?= 8.4 .include +.if !defined(WITHOUT_X11) +CONFIGURE_ARGS+= --x-includes=${X11BASE}/include \ + --x-libraries=${X11BASE}/lib +USE_XLIB= yes +.else +CONFIGURE_ARGS+= --without-x +.endif + post-install: ${LN} -sf libBLT24.so.3 ${PREFIX}/lib/libBLT24.so ${LN} -sf libBLTlite24.so.3 ${PREFIX}/lib/libBLTlite24.so