Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2017 19:04:02 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453206 - head/sysutils/e2fsprogs
Message-ID:  <201710301904.v9UJ42wV021087@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Mon Oct 30 19:04:02 2017
New Revision: 453206
URL: https://svnweb.freebsd.org/changeset/ports/453206

Log:
  e2fsprogs, prepend new .so dir to RPATH/RUNPATH...
  
  ...so that the tools other than e2fsck find their libraries.
  
  Reported by: ehaupt@

Modified:
  head/sysutils/e2fsprogs/Makefile

Modified: head/sysutils/e2fsprogs/Makefile
==============================================================================
--- head/sysutils/e2fsprogs/Makefile	Mon Oct 30 18:36:39 2017	(r453205)
+++ head/sysutils/e2fsprogs/Makefile	Mon Oct 30 19:04:02 2017	(r453206)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710301904.v9UJ42wV021087>