aboutsummaryrefslogtreecommitdiff
path: root/devel/libelf
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-12-31 01:30:29 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-12-31 01:30:29 +0000
commit5c9fcb26affa4f721f8eba67389b2018648f6f71 (patch)
tree4a2f8c53758c70855b1c9281677243eba4ab7474 /devel/libelf
parent58ed0a6bf93ee4d0c21ee29f5026df11e203ade7 (diff)
downloadports-5c9fcb26affa4f721f8eba67389b2018648f6f71.tar.gz
ports-5c9fcb26affa4f721f8eba67389b2018648f6f71.zip
Notes
Diffstat (limited to 'devel/libelf')
-rw-r--r--devel/libelf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile
index 22a08a04bb8e..98b61cd32a34 100644
--- a/devel/libelf/Makefile
+++ b/devel/libelf/Makefile
@@ -25,6 +25,10 @@ USE_GETTEXT= yes
NOMAN= defined
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600102
+
USE_REINPLACE= yes
FILES_TO_PATCH=lib/32.fsize.c lib/64.xlatetof.c lib/cook.c lib/gelf.h lib/gelftrans.c
@@ -35,4 +39,6 @@ post-patch:
-e 's/Elf64_Sxword/Elf64_Sword/g' \
${FILES_TO_PATCH:S,^,${WRKSRC}/,}
-.include <bsd.port.mk>
+.endif
+
+.include <bsd.port.post.mk>