diff options
author | tron <tron@pkgsrc.org> | 2012-10-10 06:46:16 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2012-10-10 06:46:16 +0000 |
commit | f4d563c1a7df0a4be935b31a0aaab7d49e4b4d8f (patch) | |
tree | 0fe8775249be14258a1dd9685557bb1c51527aea /net | |
parent | c8ce5495673abd3cede928c1c010707bcfd00f95 (diff) | |
download | pkgsrc-f4d563c1a7df0a4be935b31a0aaab7d49e4b4d8f.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 |