Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2018 19:36:25 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473155 - head/devel/elfutils
Message-ID:  <201806231936.w5NJaPbe092385@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Jun 23 19:36:25 2018
New Revision: 473155
URL: https://svnweb.freebsd.org/changeset/ports/473155

Log:
  Unbreak make patch

Modified:
  head/devel/elfutils/Makefile

Modified: head/devel/elfutils/Makefile
==============================================================================
--- head/devel/elfutils/Makefile	Sat Jun 23 19:16:16 2018	(r473154)
+++ head/devel/elfutils/Makefile	Sat Jun 23 19:36:25 2018	(r473155)
@@ -23,7 +23,7 @@ BROKEN_armv7=		fails to build: fails to compile i386_d
 BROKEN_sparc64=		sparc patch does not apply cleanly to 0.172
 
 LIB_DEPENDS=	libargp.so:devel/argp-standalone
-PATCH_DEPENDS=	gnulib>=0:devel/gnulib:extract
+PATCH_DEPENDS=	${NONEXISTENT}:devel/gnulib:extract
 
 PLIST_SUB=	VERSION=${PORTVERSION}
 
@@ -47,10 +47,11 @@ CFLAGS_i386+=	-Wno-error
 CONFIGURE_ARGS+=	--program-prefix=eu-
 
 post-patch:
+	@${LN} -s `${MAKE} -C ${PORTSDIR}/devel/gnulib -V WRKSRC` ${WRKDIR}/gnulib
 	@${CP} -a \
-	    ${LOCALBASE}/share/gnulib/lib/obstack.c \
-	    ${LOCALBASE}/share/gnulib/lib/obstack.h \
-	    ${LOCALBASE}/share/gnulib/lib/obstack_printf.c \
+	    ${WRKDIR}/gnulib/lib/obstack.c \
+	    ${WRKDIR}/gnulib/lib/obstack.h \
+	    ${WRKDIR}/gnulib/lib/obstack_printf.c \
 	    ${WRKSRC}/lib
 
 .include <bsd.port.mk>



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