pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Remove the addition on ${LOCALBASE}/lib rpa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66994f9f1b48
branches:  trunk
changeset: 610673:66994f9f1b48
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Fri Nov 02 22:24:08 2012 +0000

description:
Remove the addition on ${LOCALBASE}/lib rpath to ldflags as this is already
done by the buildlink system.

diffstat:

 lang/perl5/Makefile |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (28 lines):

diff -r f336d2e98d43 -r 66994f9f1b48 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Fri Nov 02 21:22:10 2012 +0000
+++ b/lang/perl5/Makefile       Fri Nov 02 22:24:08 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.188 2012/11/02 21:22:10 sbd Exp $
+# $NetBSD: Makefile,v 1.189 2012/11/02 22:24:08 sbd Exp $
 
 .include "license.mk"
 .include "Makefile.common"
@@ -139,18 +139,6 @@
 SYSLIBPATH=            ${SYSLIBPATH.${OPSYS}}
 SUBST_VARS.policysh+=  SYSLIBPATH
 
-# On a.out platforms, we link with "ld" and on ELF platforms, we link with
-# "cc", so we need to use different options to pass the run-time search path
-# flags to the link command in the right way.
-#
-.if ${OBJECT_FMT} == "a.out"
-LOCLIBRPATHFLAGS=      ${LINKER_RPATH_FLAG} ${LOCALBASE}/lib
-.elif ${OBJECT_FMT} == "ELF" || ${OBJECT_FMT} == "XCOFF"
-LOCLIBRPATHFLAGS=      ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib
-.else
-LOCLIBRPATHFLAGS=      # empty
-.endif
-
 .include "../../mk/dlopen.buildlink3.mk"
 .include "options.mk"
 



Home | Main Index | Thread Index | Old Index