Nick Stenning schrieb: > Sorry about that .. it's probably not very clear thanks to my shell! > I've cleared it up a little below: > >> Okay, something very strange is going on here ... and it's not just to
Indeed:
>> phoenix /usr/ports/audio/arts # make -V CONFIGURE_TARGET
>> i386-portbld-freebsd6
This shouldn't happen - the arts Makefile overrides CONFIGURE_TARGET and
sets it empty. It also sets the --build argument for configure instead:
[...]
CONFIGURE_TARGET= # empty
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
[...]
Please take a look at the Makefile in /usr/ports/audio/arts and make
sure these lines are in there.
>> So since OSREL is set to the right thing I can only assume
>> CONFIGURE_TARGET is being overridden somewhere central ..
>>
>> Aha .. here's the problem:
>>
>> phoenix /usr/ports/sysutils/pidof # make -X -V CONFIGURE_TARGET
>> ${ARCH}-portbld-freebsd${OSREL:C/\..*//}
This shouldn't be in there either. Grepping through /usr/ports/Mk and
/usr/share/mk, I find this definition in
/usr/ports/Mk/bsd.ruby.mk:
[EMAIL PROTECTED]:2:/usr/ports/Mk > grep -r OSREL:C *
grep: #cvs.cvsup-24067.8: Permission denied
bsd.python.mk:PYTHON_PLATFORM= ${OPSYS:L}${OSREL:C/\.[0-9.]*//}
bsd.ruby.mk:CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL:C/\..*//}
bsd.ruby.mk:RUBY_ARCH?= ${ARCH}-freebsd${OSREL:C/\..*//}
If that's were you are getting it from, I don't know how ... I can only
suspect there has to be a stray .include somewhere.
>>
>> So we're chopping the ".1" off the end. It's the same in arts and
>> artswrapper.. and anything else I suppose. Can this really be that big
>> a bug? Is is just something that's gone wrong with my system?
I don't have a system with 6.1-PRERELEASE at hand, but since the
ports-collection does not have any branches, this all strikes me as very
odd indeed.
You could try looking for suspicious things in /usr/share/mk (since this
might be different on your FreeBSD version), but I'm still more inclined
to think that something in either the make configuration or the
ports-collection on your system is not the way it should be, but I can't
think of any likely scenarios.
Are you using cvsup or portsnap? If the former, trying a different
mirror might be worth a shot. If the latter, deleting everyhing under
/usr/ports and doing portsnap fetch && portsnap extract && portsnap
update would be a way to make sure your ports collection is pristine.
Cheers,
--
,_, | Michael Nottebrock | [EMAIL PROTECTED]
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
signature.asc
Description: OpenPGP digital signature
_______________________________________________ kde-freebsd mailing list [email protected] http://freebsd.kde.org/mailman/listinfo/kde-freebsd
