pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch libfetch-2.34:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a22cde0ceb34
branches:  trunk
changeset: 609743:a22cde0ceb34
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Tue Oct 09 02:48:04 2012 +0000

description:
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:

 net/libfetch/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r cf56d3cc1e39 -r a22cde0ceb34 net/libfetch/Makefile
--- a/net/libfetch/Makefile     Tue Oct 09 01:41:59 2012 +0000
+++ b/net/libfetch/Makefile     Tue Oct 09 02:48:04 2012 +0000
@@ -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 @@
 .if !empty(FETCH_USING:Mfetch)
 CHECK_PERMS=           no
 .endif
+.if ${OPSYS} == "Linux"
+CFLAGS+=       -fPIC
+.endif
 
 INSTALLATION_DIRS=     include lib ${PKGMANDIR}/cat3 ${PKGMANDIR}/man3
 



Home | Main Index | Thread Index | Old Index