summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-11-02 22:24:08 +0000
committersbd <sbd@pkgsrc.org>2012-11-02 22:24:08 +0000
commit7ae6cd5e9a312a514af1c0fe2508b82705179af8 (patch)
treefb012274f618de232d173b3d7b86649dc8f9f810 /lang/perl5
parent65f7970ea2c37e448c37e5517acf940d93374f99 (diff)
downloadpkgsrc-7ae6cd5e9a312a514af1c0fe2508b82705179af8.tar.gz
Remove the addition on ${LOCALBASE}/lib rpath to ldflags as this is already
done by the buildlink system.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 10f7611b3ef..1b85510f27d 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -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.AIX= /usr/lib
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"