ports/149400: [PATCH] graphics/lensfun: fix library symlink
Matthias Andree
matthias.andree at gmx.de
Sat Aug 7 14:30:04 UTC 2010
>Number: 149400
>Category: ports
>Synopsis: [PATCH] graphics/lensfun: fix library symlink
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 07 14:30:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 8.1-STABLE FreeBSD 8.1-STABLE #24: Wed Aug 4 00:11:19 CEST
>Description:
@exec isn't reliable on my system, and also lacks a corresponding
@unexec. Change to install from Makefile and package the symlink.
Port maintainer (dindin at dindin.ru) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- lensfun-0.2.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/lensfun/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile 4 Aug 2010 18:01:30 -0000 1.3
+++ Makefile 7 Aug 2010 14:24:40 -0000
@@ -42,4 +42,7 @@
@${REINPLACE_CMD} -e 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|g' \
${WRKSRC}/build/tibs/compiler/pkgconfig.mak
+post-install:
+ ${LN} -sf liblensfun.so ${LOCALBASE}/lib/liblensfun.so.${LIBVERSION}
+
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/lensfun/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist 4 Aug 2010 18:01:30 -0000 1.2
+++ pkg-plist 7 Aug 2010 14:23:43 -0000
@@ -1,4 +1,5 @@
lib/liblensfun.so
+lib/liblensfun.so.2
libdata/pkgconfig/lensfun.pc
include/lensfun.h
%%DATADIR%%/6x6.xml
@@ -39,4 +40,3 @@
@dirrm share/doc/lensfun-%%PORTVERSION%%
@dirrm %%DATADIR%%
@dirrmtry lib/pkgconfig
- at exec ln -fs lib/liblensfun.so lib/liblensfun.so.2
--- lensfun-0.2.5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list