Date: Wed, 1 Dec 2004 00:48:15 +0100 From: Dejan Lesjak <dejan.lesjak@ijs.si> To: freebsd-x11@freebsd.org Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: [ports-i386@dosirak.kr.freebsd.org: rosegarden-2.1.2 failed on i386 5] Message-ID: <200412010048.16131.dejan.lesjak@ijs.si> In-Reply-To: <20041129195049.GB8315@xor.obsecurity.org> References: <20041129195049.GB8315@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 29 of November 2004 20:50, Kris Kennaway wrote: > Looks like it might be another xorg 6.8.1 casualty > > Kris Well, yes and no :) It seems removing imake from RUN_DEPENDS only exposed something else in this port. Namely rosegarden seems to use makedepend (provided by imake) if it can find it, otherwise it just calls '/bin/true'. The ports Makefile, however already attempted to avoid using makedepend by this line: CONFIGURE_ENV= MAKEDEPEND=${TRUE} This doesn't seem to work though. Even running configure by hand (env MAKEDEPEND=true ./configure) still displays this line: checking for makedepend... /bin/true and uses /bin/true like in forwarded log: [snip] > checking for makedepend... /bin/true ^^^^^^^^^^^^^^^^^^^^^^^ [snip] > clearing dependencies from > /tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/topbox/src/Makefile ( > ROSEGARDEN="/tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2" ; > SYSINCDIRS="-I/usr/X11R6/include" ; SYSLDFLAGS="-L/usr/X11R6/lib -lSM > -lICE" ; CC="cc" ; DEFINES="-DNO_SYS_ERRLIST -DSYSTEM_SILENT" ; > RANLIB="ranlib" ; OPTFLAGS="-O -pipe" ; MAKEDEPEND="/bin/true" ; ^^^^^^^^^^^^^^^^^^^^^ > SYSEXTRALIBS="" ; export ROSEGARDEN SYSINCDIRS DEFINES SYSLDFLAGS CC RANLIB > OPTFLAGS MAKEDEPEND SYSEXTRALIBS ; cd > /tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/lists/src ; make > depend ) /bin/true -- -I/usr/X11R6/include > -I/tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/include > -I/tmp/a/ports/audio/rosegarden/work/rosegarden-2.1pl2/common/bitmaps > -DNO_SYS_ERRLIST -DSYSTEM_SILENT -O -pipe -- *.c > /bin/true: not found > *** Error code 127 This was previously masked as makedepend was installed and got used instead. The solution seems to be patching configure.in to take /usr/bin/true instead. Since the port is unmaintained I'll commit the following if nobody has better idea: Index: Makefile =================================================================== RCS file: /usr/local/repos/freebsd/ports/audio/rosegarden/Makefile,v retrieving revision 1.21 diff -u -r1.21 Makefile --- Makefile 14 Mar 2004 06:16:00 -0000 1.21 +++ Makefile 30 Nov 2004 22:56:58 -0000 @@ -20,7 +20,6 @@ USE_X_PREFIX= yes USE_REINPLACE= yes USE_AUTOCONF_VER= 213 -CONFIGURE_ENV= MAKEDEPEND=${TRUE} CONFIGURE_ARGS= --with-tclincl=${LOCALBASE}/include/tcl8.2 post-patch: Index: files/patch-aa =================================================================== RCS file: /usr/local/repos/freebsd/ports/audio/rosegarden/files/patch-aa,v retrieving revision 1.8 diff -u -r1.8 patch-aa --- files/patch-aa 19 Dec 2000 08:34:53 -0000 1.8 +++ files/patch-aa 30 Nov 2004 22:58:51 -0000 @@ -1,5 +1,16 @@ ---- configure.in.orig Tue Sep 21 20:25:38 1999 -+++ configure.in Thu Dec 14 02:14:00 2000 +--- configure.in.orig Tue Sep 21 11:25:38 1999 ++++ configure.in Tue Nov 30 22:58:02 2004 +@@ -9,8 +9,8 @@ + AC_PROG_LN_S + AC_PROG_MAKE_SET + AC_PROG_RANLIB +-dnl Checks for makedepend, uses /bin/true if not found +-AC_PATH_PROG(MAKEDEPEND, makedepend, /bin/true) ++dnl Checks for makedepend, uses /usr/bin/true if not found ++AC_PATH_PROG(MAKEDEPEND, makedepend, /usr/bin/true) + + AC_CANONICAL_SYSTEM + @@ -67,11 +67,11 @@ Petal=Petal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412010048.16131.dejan.lesjak>