Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2005 01:39:11 +0100
From:      Simon Barner <barner@FreeBSD.org>
To:        Rudi Kramer <derth@wbs.co.za>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Port: /dns/noip
Message-ID:  <20051130003911.GB92183@zi025.glh.mhn.de>
In-Reply-To: <003101c5f515$ed38ad00$0200a8c0@rickj>
References:  <003101c5f515$ed38ad00$0200a8c0@rickj>

next in thread | previous in thread | raw e-mail | index | archive | help

--MIdTMoZhcV1D07fI
Content-Type: multipart/mixed; boundary="d9ADC0YsG2v16Js0"
Content-Disposition: inline


--d9ADC0YsG2v16Js0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Rudi Kramer wrote:
> Good Evening,
>=20
> I used the noip port on Freebsd 5.4 and I was able to install the port an=
d=20
> configure it with no problems.
>=20
> I have now got a new pc and I installed Freebsd 6.0 on it.
>=20
> I then tried to install the /dns/noip port
>=20
> Information from distinfo:
>=20
> D5 (noip-2.1.1.tar.gz) =3D 2855ba62a8b5742a7e9d26f4e7c80b25
> SIZE (noip-2.1.1.tar.gz) =3D 71210
>=20
> After doing make install all, I then tried to make conf as per the=20
> intructions. Before the ugprade I was presented with a list of numbers=20
> corresponding to a list of all my network interfaces.
>=20
> Now when I do make conf I see the following:

[...]

Looks like a bug. It seem that it is not getting the correct list of
devices. Does it work, when you put the attached patch into the files
directory of the port (overwriting the exiting one)?

--=20
Best regards / Viele Gr=FC=DFe,                             barner@FreeBSD.=
org
 Simon Barner                                                barner@gmx.de

--d9ADC0YsG2v16Js0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-Makefile
Content-Transfer-Encoding: quoted-printable

--- Makefile.orig	Sat Aug  2 05:56:55 2003
+++ Makefile	Wed Nov 30 01:35:17 2005
@@ -1,13 +1,13 @@
 TGT=3Dnoip2
-CC=3Dgcc
+MYCC=3D${CC}
=20
-PREFIX=3D/usr/local
-CONFDIR=3D${PREFIX}/etc
-BINDIR=3D${PREFIX}/bin
+MYPREFIX=3D${PREFIX}
+CONFDIR=3D${MYPREFIX}/etc
+BINDIR=3D${MYPREFIX}/bin
=20
 # these defines are for Linux
-LIBS=3D
-ARCH=3Dlinux
+#LIBS=3D
+#ARCH=3Dlinux
=20
 # for BSD systems that have getifaddr(), uncomment the next line
 #ARCH=3Dbsd_with_getifaddrs
@@ -21,7 +21,7 @@
 # ARCH=3Dsun
=20
 ${TGT}: Makefile ${TGT}.c=20
-	${CC} -Wall -g -O2 -D${ARCH} -DPREFIX=3D\"${PREFIX}\" ${TGT}.c -o ${TGT} =
${LIBS}
+	${MYCC} ${CFLAGS} -Dbsd_with_getifaddrs -DPREFIX=3D\"${MYPREFIX}\" ${TGT}=
=2Ec -o ${TGT} ${LIBS}
=20
 install: ${TGT}=20
 	if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi

--d9ADC0YsG2v16Js0--

--MIdTMoZhcV1D07fI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDjPSvCkn+/eutqCoRAuXdAJ9L3kqJ2ACC8iKsKXsHKI6XIT+wnACfcD5k
+YXFqyo/+pE8J3N6yux049M=
=V2sQ
-----END PGP SIGNATURE-----

--MIdTMoZhcV1D07fI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051130003911.GB92183>