diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2010-08-08 05:14:06 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2010-08-08 05:14:06 +0800 |
commit | 243bdd1051dcee290c862118462e7b1177f05feb (patch) | |
tree | 965bdc63f385369c5085d604963bacf419daac2a /graphics/lensfun | |
parent | 20d2999bc9e2204ac43b6f292ba9a6456ebb8308 (diff) | |
download | freebsd-ports-gnome-243bdd1051dcee290c862118462e7b1177f05feb.tar.gz freebsd-ports-gnome-243bdd1051dcee290c862118462e7b1177f05feb.tar.zst freebsd-ports-gnome-243bdd1051dcee290c862118462e7b1177f05feb.zip |
- Link the shared library and fix pkg-plist,
this should fix graphics/darktable build
PR: ports/149254
Pointed out by: stas
Approved by: Denis Barov <dindin AT dindin.ru>
(maintainer, earlier version patch)
Diffstat (limited to 'graphics/lensfun')
-rw-r--r-- | graphics/lensfun/Makefile | 6 | ||||
-rw-r--r-- | graphics/lensfun/pkg-plist | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile index b7940173f435..5e8c95f4caeb 100644 --- a/graphics/lensfun/Makefile +++ b/graphics/lensfun/Makefile @@ -7,6 +7,7 @@ PORTNAME= lensfun PORTVERSION= 0.2.5 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= BERLIOS @@ -30,7 +31,7 @@ HAS_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET} --vectorization=SSE -PLIST_SUB+= PORTVERSION=${PORTVERSION} +PLIST_SUB+= PORTVERSION=${PORTVERSION} LIBVERSION=${LIBVERSION} post-patch: @${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \ @@ -42,4 +43,7 @@ post-patch: @${REINPLACE_CMD} -e 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|g' \ ${WRKSRC}/build/tibs/compiler/pkgconfig.mak +post-install: + @${LN} -sf ${PREFIX}/lib/lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION} + .include <bsd.port.mk> diff --git a/graphics/lensfun/pkg-plist b/graphics/lensfun/pkg-plist index 793560400560..b7bdeffcc832 100644 --- a/graphics/lensfun/pkg-plist +++ b/graphics/lensfun/pkg-plist @@ -1,4 +1,5 @@ lib/liblensfun.so +lib/liblensfun.so.%%LIBVERSION%% libdata/pkgconfig/lensfun.pc include/lensfun.h %%DATADIR%%/6x6.xml @@ -39,4 +40,3 @@ share/doc/lensfun-%%PORTVERSION%%/cc-by-sa-3.0.txt @dirrm share/doc/lensfun-%%PORTVERSION%% @dirrm %%DATADIR%% @dirrmtry lib/pkgconfig -@exec ln -fs lib/liblensfun.so lib/liblensfun.so.2 |