diff options
author | tron <tron> | 2012-10-10 06:46:16 +0000 |
---|---|---|
committer | tron <tron> | 2012-10-10 06:46:16 +0000 |
commit | 64fe19b942efe3c4943f43dd21514172c1766465 (patch) | |
tree | 0fe8775249be14258a1dd9685557bb1c51527aea /net | |
parent | 2cb5bb55179ed9ef880e4a1fe8155c661f8c710d (diff) | |
download | pkgsrc-64fe19b942efe3c4943f43dd21514172c1766465.tar.gz |
Pullup ticket #3937 - requested by sbd
net/libfetch: build fix
Revisions pulled up:
- net/libfetch/Makefile 1.43
---
Module Name: pkgsrc
Committed By: sbd
Date: Tue Oct 9 02:48:04 UTC 2012
Modified Files:
pkgsrc/net/libfetch: Makefile
Log Message:
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 983bb13a9ec..8c0ffbcc927 100644 --- a/net/libfetch/Makefile +++ b/net/libfetch/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.41 2011/12/17 00:12:29 sbd Exp $ +# $NetBSD: Makefile,v 1.41.8.1 2012/10/10 06:46:16 tron Exp $ # -DISTNAME= libfetch-2.33 +DISTNAME= libfetch-2.34 CATEGORIES= net MASTER_SITES= # empty DISTFILES= # empty @@ -23,6 +23,9 @@ MAKE_JOBS_SAFE= NO .if !empty(FETCH_USING:Mfetch) CHECK_PERMS= no .endif +.if ${OPSYS} == "Linux" +CFLAGS+= -fPIC +.endif INSTALLATION_DIRS= include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3 |