Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 09:46:59 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466303 - in head/converters/bsdconv: . files
Message-ID:  <201804030946.w339kx8o080413@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Apr  3 09:46:59 2018
New Revision: 466303
URL: https://svnweb.freebsd.org/changeset/ports/466303

Log:
  Add SONAME
  
  - Bump PORTREVISION for package change
  
  PR:		226740
  Submitted by:	sunpoet (myself)
  Approved by:	maintainer (timeout,14 days)

Modified:
  head/converters/bsdconv/Makefile
  head/converters/bsdconv/files/patch-Makefile

Modified: head/converters/bsdconv/Makefile
==============================================================================
--- head/converters/bsdconv/Makefile	Tue Apr  3 09:46:54 2018	(r466302)
+++ head/converters/bsdconv/Makefile	Tue Apr  3 09:46:59 2018	(r466303)
@@ -3,6 +3,7 @@
 
 PORTNAME=	bsdconv
 PORTVERSION=	11.5
+PORTREVISION=	1
 CATEGORIES=	converters
 
 MAINTAINER=	buganini@gmail.com

Modified: head/converters/bsdconv/files/patch-Makefile
==============================================================================
--- head/converters/bsdconv/files/patch-Makefile	Tue Apr  3 09:46:54 2018	(r466302)
+++ head/converters/bsdconv/files/patch-Makefile	Tue Apr  3 09:46:59 2018	(r466303)
@@ -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
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804030946.w339kx8o080413>