diff options
author | marino <marino> | 2011-12-06 01:22:43 +0000 |
---|---|---|
committer | marino <marino> | 2011-12-06 01:22:43 +0000 |
commit | f7df6ce830526f90a28d693d11818f5a82236738 (patch) | |
tree | 956df85bd6a7a4e8f66b8a51272549a8711880ef /devel/kdesdk3 | |
parent | d966a7c290172a41e426a04c1a8e27d9150a5c9f (diff) | |
download | pkgsrc-f7df6ce830526f90a28d693d11818f5a82236738.tar.gz |
devel/kdesdk3: Fix for DragonFly
DragonFly needs devel/flex rather than USE_TOOLS+= lex in order to
build kdesdk3.
Diffstat (limited to 'devel/kdesdk3')
-rw-r--r-- | devel/kdesdk3/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/kdesdk3/Makefile b/devel/kdesdk3/Makefile index d53616d8e23..8258ac47baa 100644 --- a/devel/kdesdk3/Makefile +++ b/devel/kdesdk3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.83 2011/12/02 07:13:50 sbd Exp $ +# $NetBSD: Makefile,v 1.84 2011/12/06 01:22:43 marino Exp $ DISTNAME= kdesdk-${_KDE_VERSION} PKGREVISION= 19 @@ -13,7 +13,7 @@ CONFLICTS+= umbrello-[0-9]* .include "../../meta-pkgs/kde3/Makefile.kde3" BDB_ACCEPTED= db4 db5 -USE_TOOLS+= lex perl:run bash:run pod2man +USE_TOOLS+= perl:run bash:run pod2man CONFIGURE_ARGS+= --with-db-dir=${BDBBASE} CONFIGURE_ARGS+= --with-db-include=${BDB_TYPE}/db.h #CONFIGURE_ARGS+= --with-db-include-dir=${BDBBASE}/include/${BDB_TYPE} @@ -99,6 +99,13 @@ PLIST_SRC+= ${PKGDIR}/PLIST.kmtrace .endif PLIST_SRC+= ${PKGDIR}/PLIST +.if ${OPSYS} == "DragonFly" +CONFIGURE_ENV+= LEX="${PREFIX}/bin/flex" +.include "../../devel/flex/buildlink3.mk" +.else +USE_TOOLS+= lex +.endif + .include "options.mk" # Makefile{,.am,.in} weren't supposed to be installed so clean up |