aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-05-24 03:47:38 +0800
committercrees <crees@FreeBSD.org>2012-05-24 03:47:38 +0800
commitdc6dd13de89e6f936a14d4b639e158207dff3f01 (patch)
tree15de2fe1eda0b84ffa1a6f50583211e987244018 /devel
parentc3717ea84a42f2c3168d70593b10f11880255bca (diff)
downloadfreebsd-ports-gnome-dc6dd13de89e6f936a14d4b639e158207dff3f01.tar.gz
freebsd-ports-gnome-dc6dd13de89e6f936a14d4b639e158207dff3f01.tar.zst
freebsd-ports-gnome-dc6dd13de89e6f936a14d4b639e158207dff3f01.zip
- Remove obsolete OSVERSION check
- Use bsd.port.options.mk
Diffstat (limited to 'devel')
-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>