aboutsummaryrefslogtreecommitdiff
path: root/devel/libelf
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-05-23 19:47:38 +0000
committerChris Rees <crees@FreeBSD.org>2012-05-23 19:47:38 +0000
commite263d820890642b844a1551e4afa40753f45ba41 (patch)
treee3cc830b8dea433591fc9d7321dc703ac4ce97f1 /devel/libelf
parent7f0bb69a4c2923457fdc8b460ebbd13554e0a6d5 (diff)
downloadports-e263d820890642b844a1551e4afa40753f45ba41.tar.gz
ports-e263d820890642b844a1551e4afa40753f45ba41.zip
- Remove obsolete OSVERSION check
- Use bsd.port.options.mk
Notes
Notes: svn path=/head/; revision=297297
Diffstat (limited to 'devel/libelf')
-rw-r--r--devel/libelf/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile
index 3b662e9a4dfa..faa49727670a 100644
--- a/devel/libelf/Makefile
+++ b/devel/libelf/Makefile
@@ -20,7 +20,7 @@ OPTIONS= EXTENDED "ELF format extensions" on \
NLS "Native Language Support" on \
SANITY "Avoid loading invalid ELF files" on
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared --disable-compat
@@ -51,16 +51,4 @@ CONFIGURE_ARGS+= --enable-sanity-checks
CONFIGURE_ARGS+= --disable-sanity-checks
.endif
-.if ${OSVERSION} < 600102
-
-FILES_TO_PATCH=lib/32.fsize.c lib/64.xlatetof.c lib/cook.c lib/gelf.h lib/gelftrans.c
-
-post-patch:
- ${REINPLACE_CMD} \
- -e 's/Elf64_Xword/Elf64_Word/g' \
- -e 's/Elf64_Sxword/Elf64_Sword/g' \
- ${FILES_TO_PATCH:S,^,${WRKSRC}/,}
-
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>