Date: 19 Mar 2003 14:41:13 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Dan Naumov <dan.naumov@ofw.fi> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: What's wrong with this port ? Message-ID: <1048102873.328.75.camel@gyros> In-Reply-To: <1048102704.40287.10.camel@localhost> References: <1048102704.40287.10.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-AgCfCDXueqsTjxgbvCUv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-03-19 at 14:38, Dan Naumov wrote: > Hello list. >=20 > I've recently decided to try my hand at port-making and thought I'd > start by writing a port for XFsamba (http://xfsamba.sourceforge.net/), > unfortunately I ran into an issue I couldn't solve myself so I thought > I'd ask for help. First of all, here's the actual Makefile: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > # New ports collection makefile for: xfsamba > # Date created: 19 March 2003 > # Whom: Dan "Jago" Naumov <dan.naumov@ofw.fi> > # > # $FreeBSD$ > # >=20 > PORTNAME=3D xfsamba > PORTVERSION=3D 0.47 > CATEGORIES=3D net > MASTER_SITES=3D http://xfsamba.sourceforge.net/archive/ >=20 > MAINTAINER=3D dan.naumov@ofw.fi > COMMENT=3D A GTK-based SMB navigator >=20 > GNU_CONFIGURE=3D yes > USE_LIBTOOL=3D yes USE_LIBTOOL implies GNU_CONFIGURE > USE_GMAKE=3D yes > USE_GNOME=3D glib12 gtk12 gdkpixbuf You only need gdkpixbuf here. [snip] > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > configure: WARNING: you should use --build, --host, --target > checking build system type... i386-portbld-freebsd5.0 > checking host system type... i386-portbld-freebsd5.0 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D Try adding: CONFIGURE_TARGET=3D --build=3D${MACHINE_ARCH}-portbld-freebsd${OSREL} To your Makefile. Joe >=20 > This leads to an error right as the actual compile starts: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > gmake[2]: Entering directory > `/home/jago/Work/ports/net/xfsamba/work/xfsamba-0.47/intl' > cc -c -DLOCALEDIR=3D\"/usr/local/share/locale\" > -DLOCALE_ALIAS_PATH=3D\"/usr/local/share/locale\" > -DLIBDIR=3D\"/usr/local/lib\" DHAVE_CONFIG_H -I.. -I. -I../intl > -I/usr/X11R6/include -O -pipe -mcpu=3Dpentiumpro > -march=3Di386-portbld-freebsd5.0 intl-compat.c > cc1: bad value (i386-portbld-freebsd5.0) for -march=3D switch > cc1: bad value (i386-portbld-freebsd5.0) for -mcpu=3D switch > gmake[2]: *** [intl-compat.o] Error 1 > gmake[2]: Leaving directory > `/home/jago/Work/ports/net/xfsamba/work/xfsamba-0.47/intl' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > `/home/jago/Work/ports/net/xfsamba/work/xfsamba-0.47' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >=20 > What's even more bizarre is that if I remove my custom make.conf, one of > the errors goes away, but I am still left with: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > cc1: bad value (i386-portbld-freebsd5.0) for -march=3D switch > gmake[2]: *** [intl-compat.o] Error 1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >=20 > I have the following in my make.conf: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > CPUTYPE=3Dathlon-tbird > CFLAGS=3D -O -mmmx -m3dnow -pipe > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >=20 > What exactly is compiling from ports doing differently from compiling > from source that is causing this ? Thank you for your advice. >=20 > Sincerely, --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-AgCfCDXueqsTjxgbvCUv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+eMfZb2iPiv4Uz4cRAmOBAJ9I28/pvJ2/kEk7ryrSPzzIZWFX3gCgrLcN HunIFxjU8k0W65mKPOw7+Hw= =KTX+ -----END PGP SIGNATURE----- --=-AgCfCDXueqsTjxgbvCUv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048102873.328.75.camel>