On Sun, Jun 10, 2007 at 03:56:45PM +0200, Marc Espie wrote:
> > The buid uses the kernel arch (macppc) instead of the application
> > arch (powerpc). The patch below should fix it for all archs.
> >
> Do you need to patch config.guess ? we're supposed to have a config.guess
> in the tree, and to be able to simply replace it by saying the name
> of the directories that apply. See gnu.port.mk
You mean MODGNU_CONFIG_GUESS_DIRS? I wasn't aware of it. No cookies
for me (and it's even documented in bsd.port.mk(5)). Better patch
below.
Note that packages/jpl and packages/xpce/src don't strictly need
our config.guess, but I prefer to avoid surprises for updates.
Also applied a little s/WRKDIST/WRKSRC/ to the Makefile (doesn't
change anything but it is a little bit cleaner, IMHO).
There are still problems (noticed on i386 and powerpc):
- regress hangs somewhere in src/Tests/thread, probably the agc.pl
test. It just idles around but doesn't terminate.
- in packages/odbc and packages/ssl, the configure scripts fail to
recognize installed headers and/or libraries, even if they exist.
I'm not a prolog guy, so someone more familiar to prolog (and
actually using this) may have a closer look. (Updating to swi-prolog
5.6.35 does *not* fix the problems)
Ciao,
Kili
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/swi-prolog/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile 14 Feb 2007 16:55:28 -0000 1.5
+++ Makefile 10 Jun 2007 18:57:05 -0000
@@ -21,7 +21,10 @@ PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.59
-AUTOCONF_DIR= ${WRKDIST}/src
+AUTOCONF_DIR= ${WRKSRC}/src
+MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/src \
+ ${WRKSRC}/packages/jpl \
+ ${WRKSRC}/packages/xpce/src
CONFIGURE_ARGS= --enable-mt \
--disable-custom-flags \
--with-world \