diff options
author | sbd <sbd@pkgsrc.org> | 2012-10-09 02:48:04 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-10-09 02:48:04 +0000 |
commit | 72c1d0ecd5a11932d5130f1b4fddc07dbc91e719 (patch) | |
tree | 9d985560f4b7fd04323b8fe16faabc5f5f0e879d /net | |
parent | 7b364cbd6e3d910ac7b467222ac4e60af36efddd (diff) | |
download | pkgsrc-72c1d0ecd5a11932d5130f1b4fddc07dbc91e719.tar.gz |
libfetch-2.34:
On Linux libfetch needs to be built with '-fPIC' so that it can be used
to build shared libraries. (Fixes databases/openldap-client build.)
Diffstat (limited to 'net')
-rw-r--r-- | net/libfetch/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/libfetch/Makefile b/net/libfetch/Makefile index 4cda7e526f4..4185927f8ac 100644 --- a/net/libfetch/Makefile +++ b/net/libfetch/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.42 2012/10/07 07:23:21 marino Exp $ +# $NetBSD: Makefile,v 1.43 2012/10/09 02:48:04 sbd Exp $ # -DISTNAME= libfetch-2.33 +DISTNAME= libfetch-2.34 CATEGORIES= net MASTER_SITES= # empty DISTFILES= # empty @@ -28,6 +28,9 @@ CFLAGS+= -Wno-strict-aliasing .if !empty(FETCH_USING:Mfetch) CHECK_PERMS= no .endif +.if ${OPSYS} == "Linux" +CFLAGS+= -fPIC +.endif INSTALLATION_DIRS= include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3 |