summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/Makefile.bsd-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper
index d17e4cec8f0..ed2e8af6648 100644
--- a/gnu/usr.bin/perl/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.63 2004/06/01 20:45:02 mickey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.64 2004/07/11 16:26:27 pvalchev Exp $
#
# Build wrapper for Perl 5.8.3
#
@@ -35,11 +35,6 @@ POD2MAN= LD_LIBRARY_PATH=${.OBJDIR} ${.OBJDIR}/perl -I ${.OBJDIR}/lib \
.endif
H2PH= /usr/bin/h2ph
-# Need -fPIC, not -fpic on sparc
-.if ($(TARGET_MACHINE_ARCH) == sparc)
-PICFLAG=-fPIC
-.endif
-
MANLOCALBUILD= yes
MANALL=
@@ -648,6 +643,12 @@ cleandir:
.include <bsd.lib.mk>
# These have to come after the inclusion of <bsd.lib.mk>
+
+# Need -fPIC, not -fpic on sparc
+.if ($(TARGET_MACHINE_ARCH) == sparc)
+PICFLAG=-fPIC
+.endif
+
perl.lib: ${GENERATED} ${_LIBS}
install.lib: