ports/111052: [New port] net/uriparser: URI parsing library
Ed Schouten
ed at fxq.nl
Sat Mar 31 11:30:15 UTC 2007
The following reply was made to PR ports/111052; it has been noted by GNATS.
From: Ed Schouten <ed at fxq.nl>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-ports-bugs at FreeBSD.org
Cc:
Subject: Re: ports/111052: [New port] net/uriparser: URI parsing library
Date: Sat, 31 Mar 2007 13:20:21 +0200
--/T5g/TLNXpBPJeG6
Content-Type: multipart/mixed; boundary="dwN3S3mscniL3FCL"
Content-Disposition: inline
--dwN3S3mscniL3FCL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
It looks like the port breaks on my AMD64 box. It looks like we need to
compile the library with -fPIC.
The attached shar adds -fPIC on all platforms. Is there some kind of
rule of thumb on when we should enable -fPIC and on which platforms it's
needed?
Yours,
--=20
Ed Schouten <ed at fxq.nl>
WWW: http://g-rave.nl/
--dwN3S3mscniL3FCL
Content-Type: application/x-shar
Content-Disposition: attachment; filename="uriparser.shar"
Content-Transfer-Encoding: quoted-printable
# This is a shell archive. Save it in a file, remove anything before=0A# t=
his line, and then unpack it by entering "sh file". Note, it may=0A# creat=
e directories; files and directories will be owned by you and=0A# have defa=
ult permissions.=0A#=0A# This archive contains:=0A#=0A# uriparser=0A# uripa=
rser/Makefile=0A# uriparser/distinfo=0A# uriparser/pkg-descr=0A# uriparser/=
pkg-plist=0A# uriparser/files=0A# uriparser/files/patch-malloc=0A#=0Aecho c=
- uriparser=0Amkdir -p uriparser > /dev/null 2>&1=0Aecho x - uriparser/Mak=
efile=0Ased 's/^X//' >uriparser/Makefile << 'END-of-uriparser/Makefile'=0AX=
# New ports collection makefile for: uriparser=0AX# Date Created: 31 Mar=
2007=0AX# Whom: Ed Schouten <ed at fxq.nl>=0AX#=0AX# $FreeBSD$=0AX#=0AX=
=0AXPORTNAME=3D uriparser=0AXPORTVERSION=3D 0.3.1=0AXCATEGORIES=3D net=0AXM=
ASTER_SITES=3D ${MASTER_SITE_SOURCEFORGE}=0AXMASTER_SITE_SUBDIR=3D uriparse=
r=0AX=0AXMAINTAINER=3D ed at fxq.nl=0AXCOMMENT=3D URI parsing library=0AX=0AXG=
NU_CONFIGURE=3D yes=0AXUSE_DOS2UNIX=3D yes=0AXUSE_BZIP2=3D yes=0AXCFLAGS+=
=3D -fPIC=0AX=0AX.include <bsd.port.mk>=0AEND-of-uriparser/Makefile=0Aecho =
x - uriparser/distinfo=0Ased 's/^X//' >uriparser/distinfo << 'END-of-uripar=
ser/distinfo'=0AXMD5 (uriparser-0.3.1.tar.bz2) =3D ff45baf3bacc5874f53927aa=
ccc2ad93=0AXSHA256 (uriparser-0.3.1.tar.bz2) =3D 75c12c7d5ce6429f8da9922cc5=
6e4f049b5ff06f89d607a47f1c48195dcfca06=0AXSIZE (uriparser-0.3.1.tar.bz2) =
=3D 95693=0AEND-of-uriparser/distinfo=0Aecho x - uriparser/pkg-descr=0Ased =
's/^X//' >uriparser/pkg-descr << 'END-of-uriparser/pkg-descr'=0AXuriparser =
is an RFC 3986 URI parsing library written in C++.=0AX=0AXWWW: http://uripa=
rser.sourceforge.net/=0AEND-of-uriparser/pkg-descr=0Aecho x - uriparser/pkg=
-plist=0Ased 's/^X//' >uriparser/pkg-plist << 'END-of-uriparser/pkg-plist'=
=0AXinclude/uriparser.h=0AXinclude/uriparser/Uri.h=0AXinclude/uriparser/Uri=
Base.h=0AXinclude/uriparser/UriDefsAnsi.h=0AXinclude/uriparser/UriDefsConfi=
g.h=0AXinclude/uriparser/UriDefsUnicode.h=0AXinclude/uriparser/UriIp4.h=0AX=
include/uriparser/UriIp4Base.h=0AXlib/liburiparser.a=0AX at dirrm include/urip=
arser=0AEND-of-uriparser/pkg-plist=0Aecho c - uriparser/files=0Amkdir -p ur=
iparser/files > /dev/null 2>&1=0Aecho x - uriparser/files/patch-malloc=0Ase=
d 's/^X//' >uriparser/files/patch-malloc << 'END-of-uriparser/files/patch-m=
alloc'=0AX--- include/uriparser/UriBase.h Wed Mar 28 16:09:38 2007=0AX+++ i=
nclude/uriparser/UriBase.h Sat Mar 31 12:35:09 2007=0AX@@ -117,11 +117,6 @@=
=0AX # include <ctype.h> /* For wchar_t */=0AX # include <string.h> /* For =
strlen, memset, memcpy */=0AX # include <stdlib.h> /* For malloc */=0AX-# i=
f defined(__APPLE__) && defined(__MACH__)=0AX-# include <malloc/malloc.h> =
/* For malloc, Mac OS X */=0AX-# else=0AX-# include <malloc.h> /* For mall=
oc */=0AX-# endif=0AX #endif /* URI_DOXYGEN */=0AX =0AX =0AEND-of-uriparser=
/files/patch-malloc=0Aexit=0A=0A
--dwN3S3mscniL3FCL--
--/T5g/TLNXpBPJeG6
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFGDkP152SDGA2eCwURAnlwAJ4rkq4nYgoo6eJuWL0ormwbYj2dwgCfU6U+
6NCdmFPsLw7WqkKjgpcS9EI=
=q53d
-----END PGP SIGNATURE-----
--/T5g/TLNXpBPJeG6--
More information about the freebsd-ports-bugs
mailing list