1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Allow building with clang 3.6 [1]

- Use autoreconf
- Strip shared library
- Remove unused Makefile

PR:		197867 [1]
Submitted by:	dim [1]
Approved by:	maintainer timeout (osa, 23 days) [1]
This commit is contained in:
Antoine Brodin 2015-03-15 14:55:44 +00:00
parent d31212aa6f
commit ddc1d1d9a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381335
3 changed files with 16 additions and 16 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libeio
PORTVERSION= 4.18.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= osa@FreeBSD.org
@ -13,13 +13,10 @@ USE_GITHUB= yes
GH_ACCOUNT= scunningham
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= e1a62ab
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
USES= alias libtool
USES= alias autoreconf libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= --add-missing
INSTALL_TARGET= install-strip
PLIST_FILES= include/eio.h lib/libeio.a lib/libeio.so \
lib/libeio.so.1 lib/libeio.so.1.0.0

View File

@ -1,10 +0,0 @@
# $FreeBSD$
LIB = libeio
SRCS= eio.c
INCS=
LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include
.include <bsd.lib.mk>

View File

@ -0,0 +1,13 @@
--- ecb.h.orig 2012-10-16 20:30:08 UTC
+++ ecb.h
@@ -472,8 +472,8 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t
#define ecb_unreachable() __builtin_unreachable ()
#else
/* this seems to work fine, but gcc always emits a warning for it :/ */
- ecb_inline void ecb_unreachable (void) ecb_noreturn;
- ecb_inline void ecb_unreachable (void) { }
+ ecb_inline ecb_noreturn void ecb_unreachable (void);
+ ecb_inline ecb_noreturn void ecb_unreachable (void) { }
#endif
/* try to tell the compiler that some condition is definitely true */