summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorRobert Sebastian Gerus <arachnist@gmail.com>2006-02-14 18:27:52 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-02-15 09:07:43 +0000
commita774dfe6b6f995a7b0f1353bd08c10bb60822960 (patch)
tree79e842f9a3f343d877461d1de07c985ba3fe4d63 /Makefile.SH
parent657054d4f860463a01c553d017c1818834862dcf (diff)
downloadperl-a774dfe6b6f995a7b0f1353bd08c10bb60822960.tar.gz
Patch for perl to compile/work on DragonFlyBSD
Message-ID: <4a1e16420602140827w17fd6595w@mail.gmail.com> p4raw-id: //depot/perl@27189
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 354fa8084a..e45d66c1fe 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -73,7 +73,7 @@ true)
sunos*)
linklibperl="-lperl"
;;
- netbsd*|freebsd[234]*|openbsd*)
+ netbsd*|freebsd[234]*|openbsd*|dragonfly*)
linklibperl="-L. -lperl"
;;
interix*)
@@ -972,6 +972,10 @@ s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+.PHONY: printconfig
+printconfig:
+ @eval `$(LDLIBPTH) ./perl -Ilib -V:$(CONFIGVAR)`; echo $$$(CONFIGVAR)
+
.PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
realclean _realcleaner clobber _clobber \
distclean veryclean _verycleaner