update libutf8proc

This commit is contained in:
ziggi
2019-12-28 07:57:11 +00:00
parent 89cad7d166
commit ce8c2f081a
4 changed files with 16 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
# $FreeBSD: head/textproc/utf8proc/Makefile 429723 2016-12-28 08:00:30Z hrs $
PORTNAME= utf8proc
PORTVERSION= 2.1.0
PORTVERSION= 2.4.0
DISTVERSIONPREFIX= v
CATEGORIES= textproc devel
PKGNAMEPREFIX= lib

View File

@@ -1,3 +1,3 @@
TIMESTAMP = 1482911401
SHA256 (JuliaLang-utf8proc-v2.1.0_GH0.tar.gz) = 25ccc5619ac400f9eaf24aafaae5b625afa1961e140b8dd6072b393267833260
SIZE (JuliaLang-utf8proc-v2.1.0_GH0.tar.gz) = 151842
TIMESTAMP = 1577519554
SHA256 (JuliaLang-utf8proc-v2.4.0_GH0.tar.gz) = b2e5d547c1d94762a6d03a7e05cea46092aab68636460ff8648f1295e2cdfbd7
SIZE (JuliaLang-utf8proc-v2.4.0_GH0.tar.gz) = 154936

View File

@@ -1,6 +1,6 @@
--- ./Makefile.orig 2016-12-26 20:52:48.000000000 +0000
+++ ./Makefile 2019-02-10 08:43:48.657880000 +0000
@@ -30,7 +30,7 @@
--- ./Makefile.orig 2019-05-11 03:24:14.000000000 +0200
+++ ./Makefile 2019-12-28 09:55:46.913405000 +0200
@@ -32,7 +32,7 @@
SHLIB_VERS_EXT = $(MAJOR).dylib
else # GNU/Linux, at least (Windows should probably use cmake)
SHLIB_EXT = so
@@ -9,13 +9,13 @@
endif
# installation directories (for 'make install')
@@ -73,13 +73,12 @@
@@ -80,14 +80,14 @@
rm -f libutf8proc.a
$(AR) rs libutf8proc.a utf8proc.o
-libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH): utf8proc.o
+libutf8proc.so.$(MAJOR): utf8proc.o
$(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname -Wl,libutf8proc.so.$(MAJOR) utf8proc.o
$(CC) $(LDFLAGS) $(LDFLAG_SHARED) -o $@ $(SOFLAG) -Wl,libutf8proc.so.$(MAJOR) utf8proc.o
chmod a-x $@
-libutf8proc.so: libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH)
@@ -24,11 +24,13 @@
+libutf8proc.so: libutf8proc.so.$(MAJOR)
+ ln -f -s libutf8proc.so.$(MAJOR) $@
+
libutf8proc.$(MAJOR).dylib: utf8proc.o
$(CC) -dynamiclib -o $@ $^ -install_name $(libdir)/$@ -Wl,-compatibility_version -Wl,$(MAJOR) -Wl,-current_version -Wl,$(MAJOR).$(MINOR).$(PATCH)
@@ -94,9 +93,9 @@
$(INSTALL) -m 644 libutf8proc.a $(DESTDIR)$(libdir)
$(INSTALL) -m 755 libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)
$(CC) $(LDFLAGS) -dynamiclib -o $@ $^ -install_name $(libdir)/$@ -Wl,-compatibility_version -Wl,$(MAJOR) -Wl,-current_version -Wl,$(MAJOR).$(MINOR).$(PATCH)
@@ -111,9 +111,9 @@
mkdir -m 755 -p $(DESTDIR)$(pkgconfigdir)
$(INSTALL) -m 644 libutf8proc.pc $(DESTDIR)$(pkgconfigdir)/libutf8proc.pc
ln -f -s libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.$(SHLIB_EXT)
-ifneq ($(OS),Darwin)
- ln -f -s libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.so.$(MAJOR)

View File

@@ -2,3 +2,4 @@ include/utf8proc.h
lib/libutf8proc.a
lib/libutf8proc.so
lib/libutf8proc.so.2
lib/pkgconfig/libutf8proc.pc