mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +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:
parent
bfb43a5017
commit
19528f71b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364938
@ -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
|
||||
|
23
devel/libmba/files/patch-mktool.c
Normal file
23
devel/libmba/files/patch-mktool.c
Normal 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",
|
@ -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/
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= rtfx
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://memberwebs.com/stef/software/rtfx/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user