ports/116230: [MAINTAINER] sysutils/e2fsprogs: change LDFLAGS handling

Matthias Andree matthias.andree at gmx.de
Sun Sep 9 13:10:03 UTC 2007


>Number:         116230
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/e2fsprogs: change LDFLAGS handling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 09 13:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.2-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD rho.emma.line.org 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #1: Fri Aug 31 14:58:52 CEST 2007
>Description:
- Change LDFLAGS handling.
- Bump port revision so that slave ports can take advantage of this
  change, required for e2fsprogs-libblkid (submitted separately)

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- e2fsprogs-1.40.2_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/e2fsprogs/Makefile /usr/home/emma/ports/sysutils/e2fsprogs/Makefile
--- /usr/ports/sysutils/e2fsprogs/Makefile	Mon Jul 23 11:36:34 2007
+++ /usr/home/emma/ports/sysutils/e2fsprogs/Makefile	Sun Sep  9 14:53:24 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	e2fsprogs
 PORTVERSION=	1.40.2
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,8 +21,7 @@
 
 PATCH_STRIP=	-p1
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS?=	--disable-fsck --disable-e2initrd-helper \
-			'--with-ldopts=-L${LOCALBASE}/lib' \
+CONFIGURE_ARGS+=	--disable-fsck --disable-e2initrd-helper \
 			--with-cc='${CC}' --with-linker='${LD}' \
 			--with-ccopts='${CFLAGS}' \
 			--with-root-prefix='${PREFIX}'
@@ -37,6 +36,7 @@
 		../lib/libuuid.a ${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"
 PLIST_SUB=	NLS=""
 .endif
+MAKE_ARGS+=	LDFLAGS='${LDFLAGS} -L${LOCALBASE}/lib'
 USE_LDCONFIG=	yes
 PKGDEINSTALL=	${PKGINSTALL}
 
--- e2fsprogs-1.40.2_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list