From 8d7cc4c93dc9190982d5069655810ad2e9db7e42 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 3 Apr 2018 09:46:59 +0000 Subject: Add SONAME - Bump PORTREVISION for package change PR: 226740 Submitted by: sunpoet (myself) Approved by: maintainer (timeout,14 days) --- converters/bsdconv/Makefile | 1 + converters/bsdconv/files/patch-Makefile | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'converters/bsdconv') diff --git a/converters/bsdconv/Makefile b/converters/bsdconv/Makefile index 6fab285ff773..8f4a1caa08e9 100644 --- a/converters/bsdconv/Makefile +++ b/converters/bsdconv/Makefile @@ -3,6 +3,7 @@ PORTNAME= bsdconv PORTVERSION= 11.5 +PORTREVISION= 1 CATEGORIES= converters MAINTAINER= buganini@gmail.com diff --git a/converters/bsdconv/files/patch-Makefile b/converters/bsdconv/files/patch-Makefile index e3a376d3d688..2b4c281f3725 100644 --- a/converters/bsdconv/files/patch-Makefile +++ b/converters/bsdconv/files/patch-Makefile @@ -18,6 +18,15 @@ TODO_FILTERS= TODO_FILTERS+=ANSI +@@ -262,7 +254,7 @@ installdir: + mkdir -p ${DESTDIR}${PREFIX}/share/bsdconv/to + + libbsdconv: src/libbsdconv*.c src/bsdconv.h | builddir +- $(CC) ${CFLAGS} src/libbsdconv.c -fPIC -shared -o build/lib/${SHLIBNAME} ${LIBS} ++ $(CC) ${CFLAGS} src/libbsdconv.c -fPIC -shared -Wl,-soname,${SHLIBNAME} -o build/lib/${SHLIBNAME} ${LIBS} + + bsdconv: libbsdconv meta src/bsdconv.h src/bsdconv.c | builddir + $(CC) ${CFLAGS} src/bsdconv.c -L./build/lib/ -o build/bin/bsdconv -lbsdconv ${LIBS} @@ -334,12 +326,12 @@ clean: install: install_main install_filters install_scorers install_basic install_chinese install_ebcdic -- cgit v1.2.3