Re: Multiple Java versions
On 09/25/13 08:28, Jason Helfman wrote: java/javavmwrapper cc: java Sorry for being so dumb, but I don't understand this... I though I was using javavmwrapper... what do you mean? bye & Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Multiple Java versions
On Tue, Sep 24, 2013 at 11:07 PM, Andrea Venturoli wrote: > On 09/24/13 21:38, Jonathan Chen wrote: > >> On 24 September 2013 22:36, Andrea Venturoli wrote: >> [...] >> >>> Now, according to JAVAVMS(5), "By default, javavm will select the most >>> ``native'' and up to date version". >>> >>> However: >>> >>> % java -version openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b27) OpenJDK Server VM (build 20.0-b12, mixed mode) >>> >>> >>> Any way to fix this? >>> >>> AFAICT I didn't set any relevant environment variable, anything in >>> /etc/make.conf or in javavms' own config files. >>> >> >> JAVA_HOME is what you need: >> >> jonathan:~,7:36am> unsetenv JAVA_HOME >> jonathan:~,7:36am> java -version >> openjdk version "1.6.0_32" >> OpenJDK Runtime Environment (build 1.6.0_32-b27) >> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) >> jonathan:~,7:36am> setenv JAVA_HOME /usr/local/openjdk7 >> jonathan:~,7:36am> java -version >> openjdk version "1.7.0_25" >> OpenJDK Runtime Environment (build 1.7.0_25-b15) >> OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mode) >> >> > Ok, fine for me. > > I'd just point out: isn't it in contrast to what the man page says (i.e. > "By default, javavm will select the most ``native'' and up to date > version")? > > Should the docs be corrected then? > > bye & Thanks > av. The docs may need clarification, however you may want to look into using: java/javavmwrapper cc: java -jgh -- Jason Helfman | FreeBSD Committer j...@freebsd.org | http://people.freebsd.org/~jgh | The Power to Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Multiple Java versions
On 09/24/13 21:38, Jonathan Chen wrote: On 24 September 2013 22:36, Andrea Venturoli wrote: [...] Now, according to JAVAVMS(5), "By default, javavm will select the most ``native'' and up to date version". However: % java -version openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b27) OpenJDK Server VM (build 20.0-b12, mixed mode) Any way to fix this? AFAICT I didn't set any relevant environment variable, anything in /etc/make.conf or in javavms' own config files. JAVA_HOME is what you need: jonathan:~,7:36am> unsetenv JAVA_HOME jonathan:~,7:36am> java -version openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b27) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) jonathan:~,7:36am> setenv JAVA_HOME /usr/local/openjdk7 jonathan:~,7:36am> java -version openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mode) Ok, fine for me. I'd just point out: isn't it in contrast to what the man page says (i.e. "By default, javavm will select the most ``native'' and up to date version")? Should the docs be corrected then? bye & Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Help with port for simple-scan
On 24.09.2013 14:58, Boris Samorodov wrote: 24.09.2013 22:13, Chess Griffin пишет: CONFIGURE_ENV+= CFLAGS+="-I${LOCALBASE}/include ${CFLAGS} \ Seems that the closing " is missing. Yes, thank you for bringing that to my attention. Fixed. A note about: RUN_DEPENDS=${BUILD_DEPENDS} As per the FreeBSD Porter's Handbook (5.8.2. RUN_DEPENDS) it should be RUN_DEPENDS:=${BUILD_DEPENDS} Got it, thanks. I now get past the initial configure stage but it still fails when looking for a zlib.pc file, similar to a PR for gthumb noted here: http://www.freebsd.org/cgi/query-pr.cgi?pr=167659 I will now work on figuring out a fix for this. Looks like I'll need to hack it and create a link like mezz mentions in that PR. Thanks again, Boris. -- Chess Griffin ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Options: ${opt}_CPPFLAGS?
On Tue, Sep 24, 2013 at 09:18:08PM +0200, Christian Weisgerber wrote: > Baptiste Daroussin: > > > > | If X_ABOVEVARIABLE is defined then its value will be appended to > > > | ABOVEVARIABLE depending on the status of the option X > > > > > > ... which agrees with bsd.options.mk. But shouldn't this also > > > include CPPFLAGS? > > > > Good idea, patch welcome :) > > Index: bsd.options.mk > === > --- bsd.options.mk(revision 328190) > +++ bsd.options.mk(working copy) > @@ -93,9 +93,9 @@ > # ${opt}_CMAKE_OFF When option is disabled, it will add > its content to > #the CMAKE_ARGS. > # > -# For each of CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES, > -# defining ${opt}_${variable} will add it to the actual variable when the > -# option is enabled. > +# For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES > +# DISTFILES, defining ${opt}_${variable} will add it to the actual variable > +# when the option is enabled. > # > # For each of the depends target PKG EXTRACT PATCH FETCH BUILD LIB RUN, > # defining ${opt}_${deptype}_DEPENDS will add it to the actual dependency > when > @@ -392,7 +392,7 @@ > .if defined(${opt}_CMAKE_ON) > CMAKE_ARGS+= ${${opt}_CMAKE_ON} > .endif > -.for flags in CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES > DISTFILES > +.for flags in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV > USES DISTFILES > . if defined(${opt}_${flags}) > ${flags}+= ${${opt}_${flags}} > . endif > > -- > Christian "naddy" Weisgerber na...@mips.inka.de Approves please co mit regards, Bapt pgp5OCe507_r1.pgp Description: PGP signature
Re: Options: ${opt}_CPPFLAGS?
Baptiste Daroussin: > > | If X_ABOVEVARIABLE is defined then its value will be appended to > > | ABOVEVARIABLE depending on the status of the option X > > > > ... which agrees with bsd.options.mk. But shouldn't this also > > include CPPFLAGS? > > Good idea, patch welcome :) Index: bsd.options.mk === --- bsd.options.mk (revision 328190) +++ bsd.options.mk (working copy) @@ -93,9 +93,9 @@ # ${opt}_CMAKE_OFF When option is disabled, it will add its content to # the CMAKE_ARGS. # -# For each of CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES, -# defining ${opt}_${variable} will add it to the actual variable when the -# option is enabled. +# For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES +# DISTFILES, defining ${opt}_${variable} will add it to the actual variable +# when the option is enabled. # # For each of the depends target PKG EXTRACT PATCH FETCH BUILD LIB RUN, # defining ${opt}_${deptype}_DEPENDS will add it to the actual dependency when @@ -392,7 +392,7 @@ .if defined(${opt}_CMAKE_ON) CMAKE_ARGS+= ${${opt}_CMAKE_ON} .endif -.for flags in CFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES +.for flags in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ENV USES DISTFILES . if defined(${opt}_${flags}) ${flags}+= ${${opt}_${flags}} . endif -- Christian "naddy" Weisgerber na...@mips.inka.de ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Multiple Java versions
On 24 September 2013 22:36, Andrea Venturoli wrote: [...] > Now, according to JAVAVMS(5), "By default, javavm will select the most > ``native'' and up to date version". > > However: > >> % java -version >> openjdk version "1.6.0_32" >> OpenJDK Runtime Environment (build 1.6.0_32-b27) >> OpenJDK Server VM (build 20.0-b12, mixed mode) > > > Any way to fix this? > > AFAICT I didn't set any relevant environment variable, anything in > /etc/make.conf or in javavms' own config files. JAVA_HOME is what you need: jonathan:~,7:36am> unsetenv JAVA_HOME jonathan:~,7:36am> java -version openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b27) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) jonathan:~,7:36am> setenv JAVA_HOME /usr/local/openjdk7 jonathan:~,7:36am> java -version openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mode) -- Jonathan Chen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Help with port for simple-scan
24.09.2013 22:13, Chess Griffin пишет: > CONFIGURE_ENV+= CFLAGS+="-I${LOCALBASE}/include ${CFLAGS} \ Seems that the closing " is missing. A note about: > RUN_DEPENDS= ${BUILD_DEPENDS} As per the FreeBSD Porter's Handbook (5.8.2. RUN_DEPENDS) it should be RUN_DEPENDS:=${BUILD_DEPENDS} -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Options: ${opt}_CPPFLAGS?
On Tue, Sep 24, 2013 at 05:33:54PM +, Christian Weisgerber wrote: > The Porter's Handbook, 5.12.4. Options Helpers, says: > > | For any of the following variables: > | > | CFLAGS > | CXXFLAGS > | LDLAGS > | CONFIGURE_ENV > | MAKE_ENV > | USES > | DISTFILES > | > | If X_ABOVEVARIABLE is defined then its value will be appended to > | ABOVEVARIABLE depending on the status of the option X > > ... which agrees with bsd.options.mk. But shouldn't this also > include CPPFLAGS? > > -- > Christian "naddy" Weisgerber na...@mips.inka.de > > ___ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" Good idea, patch welcome :) regards, Bapt pgp704U0gIjit.pgp Description: PGP signature
Help with port for simple-scan
Hello, I have been trying to create a port for simple-scan, a simple scanning gui, and I'm having a problem at the configure stage. I'm building this on my 9.1 amd64 bpoudriere box and it fails with: Syntax error: "(" unexpected (expecting "then") *** [do-configure] Error code 2 The Makefile and logfile are attached and I would appreciate any suggestions or pointers. There might be open issues post-configure but since I can't get past configure, I have not focused on that yet. Thanks in advance. -- Chess Griffin# $FreeBSD$ PORTNAME= simple-scan PORTVERSION=3.8.0 CATEGORIES= print MASTER_SITES= https://launchpadlibrarian.net/135258303/ EXTRACT_SUFX= .tar.xz MAINTAINER= ch...@chessgriffin.com COMMENT=simple scanning utility for GTK3 BUILD_DEPENDS= scanimage:${PORTSDIR}/graphics/sane-backends RUN_DEPENDS=${BUILD_DEPENDS} USE_AUTOTOOLS= aclocal autoconf AUTOTOOLSFILES= aclocal.m4 CONFIGURE_ARGS= --prefix=${PREFIX} CONFIGURE_ENV+= CFLAGS+="-I${LOCALBASE}/include ${CFLAGS} \ LDFLAGS+="-L${LOCALBASE}/lib ${LDFLAGS}" USES= gettext gmake pkgconfig USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango .include >> Building myports/simple-scan build started at Tue Sep 24 13:34:08 EDT 2013 port directory: /usr/ports/myports/simple-scan building for: FreeBSD REL91amd64-default-job-01 9.1-RELEASE FreeBSD 9.1-RELEASE amd64 maintained by: ch...@chessgriffin.com ident warning: no id keywords in /usr/local/poudriere/data/build/REL91amd64-default/ref/../01//usr/ports/myports/simple-scan/Makefile Makefile ident: Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=901000 UNAME_v=FreeBSD 9.1-RELEASE UNAME_r=9.1-RELEASE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/REL91amd64-default/ref PKG_EXT=txz FORCE_PACKAGE=yes tpid=97309 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk NBPARALLEL=1 PKGNG=1 PKGNAME=simple-scan-3.8.0 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/usr/home/chess MASTERNAME=REL91amd64-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- CFLAGS+="-I/usr/local/include -O2 -pipe -fno-strict-aliasing LDFLAGS+="-L/usr/local/lib " TMPDIR="/tmp" MAKE=gmake PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOMAKE=/usr/local/bin/automake-1.14 AUTOMAKE_DIR=/usr/local/share/automake-1.14 AUTOMAKE_VERSION=1.14 AUTOMAKE_APIVER=1.14 ACLOCAL=/usr/local/bin/aclocal-1.14 ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES AUTOMAKE=/usr/local/bin/automake-1.14 AUTOMAKE_DIR=/usr/local/share/automake-1.14 AUTOMAKE_VERSION=1.14 AUTOMAKE_APIVER=1.14 ACLOCAL=/usr/local/bin/aclocal-1.14 ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/simple-scan DOCSDIR=/usr/local/share/doc/simple-scan EXAMPLESDIR=/usr/local/share/examples/simple-scan WWWDIR=/usr/local/www/simple-scan ETCDIR=/usr/local/et
Options: ${opt}_CPPFLAGS?
The Porter's Handbook, 5.12.4. Options Helpers, says: | For any of the following variables: | | CFLAGS | CXXFLAGS | LDLAGS | CONFIGURE_ENV | MAKE_ENV | USES | DISTFILES | | If X_ABOVEVARIABLE is defined then its value will be appended to | ABOVEVARIABLE depending on the status of the option X ... which agrees with bsd.options.mk. But shouldn't this also include CPPFLAGS? -- Christian "naddy" Weisgerber na...@mips.inka.de ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: [HEADS UP] Improved python package support ahead
On, Sat Sep 21, 2013, Marcus von Appen wrote: > Two new port Makefile knobs are to be committed to the ports tree in a > couple of days or few weeks. > > PYDISTUTILS_AUTOPLIST > > This knob will enable the creation of an automatic package list similar > to the linux rpm ports and rubygems. It will work for the majority > packages that do not install files outside of the site-packages and > include directories for python. Ports installing e.g. binaries > might need some additional care, since there is a small regression for > directories within BSD.local.dist. The regression should be fixed within the latest update of http://people.freebsd.org/~mva/python_mod_plist.diff. The local tree under ${PREFIX} should be respected for most of the cases. Since the conversion to PYDISTUTILS_AUTOPLIST has to be done individually on a per-port basis, issues with certain ports can be fixed on demand later on. If there are no concerns, both knobs will be committed tomorrow or the day after. Cheers Marcus pgpdaPdYCTJ0a.pgp Description: PGP signature
Re: Stage support trouble
On Tue, Sep 24, 2013 at 05:11:13PM +, Olivier Duchateau wrote: > Hi, > > I've read wiki [1] and Mk/bsd.stage.mk, but I don't understand process. > > I tested on simple port (devel/xfce4-dev-tools). I removed NO_STAGE, and > followed wiki. > > If I made make check-orphans (or makeplist) nothing appends. > I must send SIGINT signal otherwise make is always running. > > So, is there good documentation somewhere ? > > [1] https://wiki.freebsd.org/ports/StageDir Strange, I went into that port removed NO_STAGED $ make stage [SNIP] ===> Building for xfce4-dev-tools-4.10.0 Making all in m4macros Making all in scripts rm -f xdt-autogen xdt-autogen.gen sed -e 's,\@DATADIR\@,/usr/local/share,g' xdt-autogen.in > xdt-autogen.gen mv xdt-autogen.gen xdt-autogen Making all in xdt-csource clang -DPACKAGE_NAME=\"xfce4-dev-tools\" -DPACKAGE_TARNAME=\"xfce4-dev-tools\" -DPACKAGE_VERSION=\"4.10.0\" -DPACKAGE_STRING=\"xfce4-dev-tools\ 4.10.0\" -DPACKAGE_BUGREPORT=\"http://bugzilla.xfce.org/enter_bug.cgi\?product=Xfce4-dev-tools\"; -DPACKAGE_URL=\"\" -DPACKAGE=\"xfce4-dev-tools\" -DVERSION=\"4.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_LIBINTL_H=1 -DHAVE_LOCALE_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -I. -I.. -DG_LOG_DOMAIN=\"xdt-csource\" -I/usr/local/include -L/usr/local/lib -I/usr/local/include/glib-2.0 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT xdt_csource-main.o -MD -MP -MF .deps/xdt_csource-main.Tpo -c -o xdt_csource-main.o `test -f 'main.c' || echo './'`main.c clang: warning: argument unused during compilation: '-L/usr/local/lib' mv -f .deps/xdt_csource-main.Tpo .deps/xdt_csource-main.Po /bin/sh ../libtool --tag=CC--mode=link clang -I/usr/local/include/glib-2.0 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -no-undefined -o xdt-csource xdt_csource-main.o -L/usr/local/lib -lglib-2.0 libtool: link: clang -I/usr/local/include/glib-2.0 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -o xdt-csource xdt_csource-main.o -L/usr/local/lib /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so /usr/local/lib/libpcre.so -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib ===> Staging for xfce4-dev-tools-4.10.0 ===> xfce4-dev-tools-4.10.0 depends on file: /usr/local/share/autotools - not found ===>Verifying install for /usr/local/share/autotools in /home/bapt/ports/devel/autotools ===> autotools-20130627 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by autotools-20130627 for building ===> Extracting for autotools-20130627 ===> Patching for autotools-20130627 ===> Configuring for autotools-20130627 ===> Installing for autotools-20130627 ===> autotools-20130627 depends on executable: libtool - found ===> autotools-20130627 depends on executable: autoconf-2.13 - found ===> autotools-20130627 depends on executable: autoconf-2.69 - found ===> autotools-20130627 depends on executable: automake-1.4 - found ===> autotools-20130627 depends on executable: automake-1.14 - found ===> Generating temporary packing list ===> Checking if devel/autotools already installed ===> Switching to root credentials for 'install' target ===> Registering installation for autotools-20130627 as automatic Installing autotools-20130627... done ===> Returning to user credentials ===> Returning to build of xfce4-dev-tools-4.10.0 ===> Generating temporary packing list Making install in m4macros /bin/mkdir -p '/home/bapt/ports/devel/xfce4-dev-tools/work/stage/usr/local/share/xfce4/dev-tools/m4macros' install -m 444 xdt-depends.m4 xdt-features.m4 xdt-i18n.m4 xdt-python.m4 xdt-xfce.m4 '/home/bapt/ports/devel/xfce4-dev-tools/work/stage/usr/local/share/xfce4/dev-tools/m4macros' Making install in scripts /bin/mkdir -p '/home/bapt/ports/devel/xfce4-dev-tools/work/stage/usr/local/bin' install -m 555 xdt-autogen xdt-commit '/home/bapt/ports/devel/xfce4-dev-tools/work/stage/usr/local/bin' Making install in xdt-csource /bin/mkdir -p '/home/bapt/ports/devel/xfce4-dev-tools/work/stage/usr/local/bin' /bin/sh ../libtool --mode=install install -s -m 555 xdt-csource '/home/bapt/ports/devel/xfce4-dev-tools/work/stage/usr/local/bin' libtool: install: install -m 555 -s xdt-csource /home/bapt/ports/devel/xfce4-dev-tools/work/stage/usr/local/bin/xdt-csource > Compressing man pages $ make check-orphans $ $ make package ===> Building package for xfce4-dev-tools-4.10.0 $ Congratulation this port does natively support stage. and I have run all the above as user bapt not as root and it worked :). Make sure to make clean before any testing ! probably there was an old work directory in there. regards, Bapt pgpOjl7R9F39I.pgp Descriptio
Re: Stage support trouble
On 09/24/13 19:11, Olivier Duchateau wrote: So, is there good documentation somewhere ? [1] https://wiki.freebsd.org/ports/StageDir Sorry to step in, but is there some documentation for someone who doesn't even know what "stage" is all about? bye & Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: STAGE support and PYTHON_SITELIBDIR at pkg-plist
24.09.2013 19:27, Baptiste Daroussin пишет: > On Tue, Sep 24, 2013 at 05:33:41PM +0400, Boris Samorodov wrote: >> Hi Baptiste and All, >> >> I try to convert comms/gammu to using STAGE and while "make makeplist" >> get those changes: >> - >> +lib/python2.7/site-packages/gammu/Data.py >> ... >> -%%PYTHON_SITELIBDIR%%/gammu/Data.py >> - > > This will bring issue when ${PYTHON_SITELIBDIR} is empty. AFAIK empty expression will not match anything. I.e. -e 's::REPLACE:' will never match. Or is there an other problem which I didn't catch? > I'm trying to make something that will automatically reverse PLIST_SUB. > > I already did it for poudriere and it works well, I don't know why it is not > that easy here, but I will manage to get it in :) Thanks! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: STAGE support and PYTHON_SITELIBDIR at pkg-plist
On Tue, Sep 24, 2013 at 05:33:41PM +0400, Boris Samorodov wrote: > Hi Baptiste and All, > > I try to convert comms/gammu to using STAGE and while "make makeplist" > get those changes: > - > +lib/python2.7/site-packages/gammu/Data.py > ... > -%%PYTHON_SITELIBDIR%%/gammu/Data.py > - This will bring issue when ${PYTHON_SITELIBDIR} is empty. I'm trying to make something that will automatically reverse PLIST_SUB. I already did it for poudriere and it works well, I don't know why it is not that easy here, but I will manage to get it in :) regards, Bapt pgpDk_ehyZ5Q_.pgp Description: PGP signature
Stage support trouble
Hi, I've read wiki [1] and Mk/bsd.stage.mk, but I don't understand process. I tested on simple port (devel/xfce4-dev-tools). I removed NO_STAGE, and followed wiki. If I made make check-orphans (or makeplist) nothing appends. I must send SIGINT signal otherwise make is always running. So, is there good documentation somewhere ? [1] https://wiki.freebsd.org/ports/StageDir -- olivier ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
STAGE support and PYTHON_SITELIBDIR at pkg-plist
Hi Baptiste and All, I try to convert comms/gammu to using STAGE and while "make makeplist" get those changes: - +lib/python2.7/site-packages/gammu/Data.py ... -%%PYTHON_SITELIBDIR%%/gammu/Data.py - If I apply the attached patch that part of pkg-plist does not change (modulo sorting). -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve Index: /usr/ports/Mk/bsd.stage.mk === --- /usr/ports/Mk/bsd.stage.mk (revision 328111) +++ /usr/ports/Mk/bsd.stage.mk (working copy) @@ -86,6 +86,7 @@ -e "s,${DOCSDIR},%%PORTDOCSDOCSDIR%%,g" \ -e "s,${EXAMPLESDIR},%%PORTEXAMPLESEXAMPLESDIR%%,g" \ -e "s,${DATADIR},%%DATADIR%%,g" \ + -e "s,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,g" \ -e "s,${PREFIX}/,,g" | ${GREP} -v "^share/licenses" || ${TRUE} @${FIND} ${STAGEDIR} -type d | ${SED} -e "s,${STAGEDIR},,g" \ | while read line; do \ @@ -96,6 +97,7 @@ -e "s,\(.*\)${DOCSDIR},%%PORTDOCS%%\1%%DOCSDIR%%,g" \ -e "s,\(.*\)${EXAMPLESDIR},%%PORTEXAMPLES%%\1%%EXAMPLESDIR%%,g" \ -e "s,${DATADIR},%%DATADIR%%,g" \ + -e "s,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,g" \ -e "s,${PREFIX}/,,g" | ${GREP} -v "^@dirrmtry share/licenses" || ${TRUE} .endif ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Multiple Java versions
Hello. Sorry if this is a stupid question... I have: # pkg_info|grep jdk bootstrap-openjdk-r316538 Oracle's Java 6 virtual machine release under the GPL v2 openjdk-7.25.15 Java Development Kit 7 openjdk6-b27_7 Oracle's Java 6 virtual machine release under the GPL v2 Now, according to JAVAVMS(5), "By default, javavm will select the most ``native'' and up to date version". However: % java -version openjdk version "1.6.0_32" OpenJDK Runtime Environment (build 1.6.0_32-b27) OpenJDK Server VM (build 20.0-b12, mixed mode) Any way to fix this? AFAICT I didn't set any relevant environment variable, anything in /etc/make.conf or in javavms' own config files. bye & Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
FreeBSD ports you maintain which are out of date
Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/po...@freebsd.org.html Port| Current version | New version +-+ devel/ppl | 0.11.2 | 1.0 +-+ www/p5-CGI-Expand | 2.03| 2.04 +-+ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portsc...@freebsd.org Thanks. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"