git: 9dd14769b13b - main - devel/libaura: Add SONAME to the installed library to make pkg register the provide
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Mar 2025 06:20:40 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9dd14769b13b00c5f43854ff0c91f27303fbd9bc
commit 9dd14769b13b00c5f43854ff0c91f27303fbd9bc
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-03-18 06:20:05 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-03-18 06:20:05 +0000
devel/libaura: Add SONAME to the installed library to make pkg register the provide
Reported by: pkg-devel exp-run
---
devel/libaura/Makefile | 1 +
devel/libaura/files/patch-Makefile | 13 +++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/devel/libaura/Makefile b/devel/libaura/Makefile
index a7aa220274c1..6d608f08baeb 100644
--- a/devel/libaura/Makefile
+++ b/devel/libaura/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libaura
PORTVERSION= 3.1.20051222
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= LOCAL/philip
diff --git a/devel/libaura/files/patch-Makefile b/devel/libaura/files/patch-Makefile
index 882ea693e5e1..7277ee1556e0 100644
--- a/devel/libaura/files/patch-Makefile
+++ b/devel/libaura/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Tue Apr 18 12:32:27 2006
-+++ Makefile Tue Apr 18 12:56:00 2006
+--- Makefile.orig 2006-04-18 00:32:27 UTC
++++ Makefile
@@ -1,9 +1,6 @@
# Makefile for libaura.
# $Id: Makefile,v 1.20 2005/08/26 22:44:37 cpressey Exp $
@@ -10,3 +10,12 @@
LIB= aura
LIB_VER=3
+@@ -17,7 +14,7 @@ ${SONAME}: ${OBJS}
+ all: ${SONAME} ${ANAME}
+
+ ${SONAME}: ${OBJS}
+- ${CC} ${OBJS} -shared ${LDFLAGS} -o ${SONAME}
++ ${CC} ${OBJS} -shared ${LDFLAGS} -Wl,-soname,${SONAME} -o ${SONAME}
+ ln -sf ${SONAME} ${SOLINK}
+
+ ${ANAME}: ${OBJS}