i was having problems building kdewebdev4 with ruby1.9 installed (and RUBY_DEFAULT_VER=1.9 on the make command line) until i added the lines in the diff below, copied straight from kdebindings4-ruby. I'm no expert, some of this might be superfluous. i never tried to build with ruby1.8 so this might be general or it might only apply to non-default ruby. sorry i didnt copy the error message and now its built and done with but the error message pretty much said where the heck is libruby or the ruby libs and please add some cmake flags to tell me where.
i'm sure i can reproduce this if need be and would be happy to help out with more info (other cases like default ruby, etc), but thought i would start by just sending you a heads up since you probably already know what the problem is by now. I'll be available tonight and can get back to you quickly if you'd like more info uname -a: FreeBSD naruto.ccsys.org 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Sun Sep 26 01:03:08 UTC 2010 r...@naruto.ccsys.org:/usr/obj/usr/src/sys/GENERIC amd64 --- Makefile.orig 2010-09-25 22:36:15.000000000 +0000 +++ Makefile 2010-09-26 13:47:49.000000000 +0000 @@ -19,6 +19,7 @@ LATEST_LINK= ${PORTNAME}4 +USE_RUBY= yes USE_BZIP2= yes USE_QT_VER= 4 USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4 @@ -27,4 +28,9 @@ porting_build uic3_build MAKE_JOBS_SAFE= yes +CMAKE_ARGS+= -DRUBY_LIBRARY=${LOCALBASE}/lib/lib${RUBY_NAME}.so \ + -DRUBY_INCLUDE_PATH=${LOCALBASE}/lib/ruby/${RUBY_VER}/${RUBY_ARCH} \ + -DCUSTOM_RUBY_SITE_LIB_DIR=${RUBY_SITELIBDIR} \ + -DCUSTOM_RUBY_SITE_ARCH_DIR=${RUBY_SITEARCHLIBDIR} + .include <bsd.port.mk> _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information