aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2018-06-24 03:36:25 +0800
committerantoine <antoine@FreeBSD.org>2018-06-24 03:36:25 +0800
commitb32e710258484ed42990413eccd7db01478ba88a (patch)
tree0944ee8c02b79bf50aa3fd04c160c599760cd2c2 /devel
parent232e9a1b82d08e3ad136245a90b8062acf9485b4 (diff)
downloadfreebsd-ports-gnome-b32e710258484ed42990413eccd7db01478ba88a.tar.gz
freebsd-ports-gnome-b32e710258484ed42990413eccd7db01478ba88a.tar.zst
freebsd-ports-gnome-b32e710258484ed42990413eccd7db01478ba88a.zip
Unbreak make patch
Diffstat (limited to 'devel')
-rw-r--r--devel/elfutils/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/elfutils/Makefile b/devel/elfutils/Makefile
index 8ac91ef2e0da..1d763c4c62f3 100644
--- a/devel/elfutils/Makefile
+++ b/devel/elfutils/Makefile
@@ -23,7 +23,7 @@ BROKEN_armv7= fails to build: fails to compile i386_disasm.c
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>