GNU Autotools

看板DFBSD_kernel作者時間21年前 (2004/12/16 02:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
In order to stop patching individual packages, and using the UNAME hacks, i was looking to update the ports for the autotools. While working on autoconf, I found that if GNU_CONFIGURE is defined, the FreeBSD ports makefiles copy their own version of config.sub and config.guess to any ports that use them. As long as we are using their system, this will happen (I'm not looking to start a war on package management). For now, could we get them to supply a modified version of config.guess and config.sub in ports/Templates that will recognize dragonfly? We also need to get the GNU people to update their config.sub and config.guess. -Craig --- config.guess 2003-10-23 10:28:51.000000000 -0400 +++ config.guess 2004-12-15 12:25:04.000000000 -0500 @@ -751,6 +751,9 @@ *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build --- config.sub 2003-10-23 10:28:51.000000000 -0400 +++config.sub 2004-12-15 12:25:39.000000000 -0500 @@ -1131,7 +1128,7 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \ + | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -dragonfly* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ -- ----------------------------------------------------------------------- Craig Dooley <xlnxminusx@gmail.com>
文章代碼(AID): #11m7mT00 (DFBSD_kernel)
文章代碼(AID): #11m7mT00 (DFBSD_kernel)