aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/perl5
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2007-03-04 02:46:59 +0800
committernobutaka <nobutaka@FreeBSD.org>2007-03-04 02:46:59 +0800
commit06683088533c40219824921c815e21a4bdc11cbb (patch)
tree8ea4e95334d67d37301ea1f6be14629b1b6011ba /japanese/perl5
parent39f76109263f4e19cb74109026c4f2694ce0de77 (diff)
downloadfreebsd-ports-gnome-06683088533c40219824921c815e21a4bdc11cbb.tar.gz
freebsd-ports-gnome-06683088533c40219824921c815e21a4bdc11cbb.tar.zst
freebsd-ports-gnome-06683088533c40219824921c815e21a4bdc11cbb.zip
Fix build after objformat removal.
Diffstat (limited to 'japanese/perl5')
-rw-r--r--japanese/perl5/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/japanese/perl5/Makefile b/japanese/perl5/Makefile
index 8836daadf1ac..1691acd218ce 100644
--- a/japanese/perl5/Makefile
+++ b/japanese/perl5/Makefile
@@ -121,6 +121,11 @@ MAN3PREFIX= ${TARGETDIR}/lib/perl5/${JPERL_VERSION}/
test:
@(cd ${WRKSRC}; make test)
+post-patch:
+.for f in Makefile.SH hints/freebsd.sh
+ @${REINPLACE_CMD} -e "s:objformat=`/usr/bin/objformat`:objformat='elf':" ${WRKSRC}/${f}
+.endfor
+
post-install:
@strip ${TARGETDIR}/bin/perl${JPERL_VERSION}
@strip ${TARGETDIR}/bin/sperl${JPERL_VERSION}