diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2010-01-22 05:13:22 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2010-01-22 05:13:22 +0000 |
commit | 5820a6fb37ee5cd60a17e9e42c9388c93c359401 (patch) | |
tree | d3d9450f20b166782bf1ad13982fd2e2dd3e6985 /x11-toolkits/blt/Makefile | |
parent | bfe781930ba6a8d4f532bc583d234c766f898146 (diff) |
Notes
Diffstat (limited to 'x11-toolkits/blt/Makefile')
-rw-r--r-- | x11-toolkits/blt/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile index fee985884844..6d6db0a9f46e 100644 --- a/x11-toolkits/blt/Makefile +++ b/x11-toolkits/blt/Makefile @@ -7,7 +7,7 @@ PORTNAME= blt PORTVERSION= 2.4z -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits tk MASTER_SITES= SF/${PORTNAME}/BLT/BLT%20${PORTVERSION} \ ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/ @@ -23,19 +23,26 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= A Tk extension (with shared libs) +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg + USE_LDCONFIG= yes USE_AUTOTOOLS= libtool:22 WRKSRC= ${WRKDIR}/blt2.4z GNU_CONFIGURE= yes +CFLAGS+= -Wall -Wno-uninitialized -DWERROR +MAKE_JOBS_SAFE= yes USE_TK= 82+ -INVALID_TK_VER= 85 86 USE_XORG= x11 .include <bsd.port.pre.mk> -CONFIGURE_ARGS+= --exec_prefix=${PREFIX} \ +post-configure: + ${REINPLACE_CMD} 's,-DWERROR,-Werror,' ${WRKSRC}/src/Makefile + +CONFIGURE_ARGS+=--exec_prefix=${PREFIX} \ + --enable-jpeg=${LOCALBASE} \ --with-tcl=${TCL_LIBDIR} \ --with-tk=${TK_LIBDIR} \ --with-tcllibs=${LOCALBASE}/lib/ \ |