1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

e2fsprogs, prepend new .so dir to RPATH/RUNPATH...

...so that the tools other than e2fsck find their libraries.

Reported by: ehaupt@
This commit is contained in:
Matthias Andree 2017-10-30 19:04:02 +00:00
parent 12bbbb6ecb
commit ef45605556
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453206

View File

@ -3,7 +3,7 @@
PORTNAME= e2fsprogs
PORTVERSION= 1.43.7
PORTREVISION?= 3
PORTREVISION?= 4
CATEGORIES?= sysutils
MASTER_SITES= KERNEL_ORG/linux/kernel/people/tytso/${PORTNAME}/v${PORTVERSION}
@ -37,7 +37,7 @@ CONFIGURE_ARGS?=--disable-fsck \
--includedir='${PREFIX}/include/e2fsprogs/' \
--with-root-prefix='${PREFIX}' \
--without-included-gettext \
LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib'
LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib -Wl,--rpath -Wl,${LOCALBASE}/lib/e2fsprogs'
CPPFLAGS+= -I${WRKSRC}/lib -I${LOCALBASE}/include # -D_EXT2_USE_C_VERSIONS
MAKE_ARGS+= pkgconfigdir='${PREFIX}/libdata/pkgconfig'
MAKE_ENV+= CHECK_CMD=@true