1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

devel/libmba: Fix wrong embedded DT_SONAME

* Use single digit for soversion
 * Support DragonFly
 * Drop unnecessary sed lines by adjusting MAKE_ARGS
 * Bump dependent ports

PR:		192666
Submitted by:	Jan Beich
Approved by:	portmgr (implicit, dependent port unstaged)
This commit is contained in:
John Marino 2014-08-15 06:55:11 +00:00
parent bfb43a5017
commit 19528f71b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364938
4 changed files with 27 additions and 4 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= libmba
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.ioplex.com/~miallen/libmba/dl/ \
${MASTER_SITE_LOCAL}
@ -13,12 +14,10 @@ COMMENT= Collection of C modules potentially useful to any project
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}"
post-patch:
@${REINPLACE_CMD} -e 's,-g,$$(CFLAGS),' \
-e '/^prefix/s/=/?=/' \
-e 's/prefix/PREFIX/' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -Ee 's,"g?cc","${CC}",' \
${WRKSRC}/mktool.c

View File

@ -0,0 +1,23 @@
--- mktool.c~
+++ mktool.c
@@ -89,18 +89,18 @@ static const char *arg_array[32] = {
"lib%n.%1.%2.%3.dylib",
"lib%n.%1.%2.dylib",
"lib%n.dylib",
"darwin",
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
"gcc",
" -g",
" -Wall -W",
" -Wall -W -ansi -pedantic",
" -std=c99",
" -std=c89",
" -fpic",
" -fPIC",
- " -Wl,-soname,lib%n.so.%1.%2",
+ " -Wl,-soname,lib%n.so.%1",
"",
" -shared",
" -Wl,-rpath,%s",
"lib%n.so.%1",

View File

@ -3,7 +3,7 @@
PORTNAME= domc
PORTVERSION= 0.8.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/

View File

@ -3,6 +3,7 @@
PORTNAME= rtfx
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://memberwebs.com/stef/software/rtfx/