aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-07-19 23:55:41 +0800
committermat <mat@FreeBSD.org>2016-07-19 23:55:41 +0800
commitc970cd862e482b793a178af16518690710ae26a6 (patch)
tree5a99a88945f51933ae8a77f31c08667e2de66dea /devel
parent7ac171d9d2f10ef96943c5ffb3bc4ca0d785728d (diff)
downloadfreebsd-ports-gnome-c970cd862e482b793a178af16518690710ae26a6.tar.gz
freebsd-ports-gnome-c970cd862e482b793a178af16518690710ae26a6.tar.zst
freebsd-ports-gnome-c970cd862e482b793a178af16518690710ae26a6.zip
Make it more ports worthy.
Sponsored by: Absolight
Diffstat (limited to 'devel')
-rw-r--r--devel/elfutils/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/devel/elfutils/Makefile b/devel/elfutils/Makefile
index 751bf445ba15..9cc691c0796a 100644
--- a/devel/elfutils/Makefile
+++ b/devel/elfutils/Makefile
@@ -5,7 +5,7 @@ PORTNAME= elfutils
PORTVERSION= 0.163
PORTREVISION= 6
CATEGORIES= devel
-MASTER_SITES= https://fedorahosted.org/releases/e/l/elfutils/$(PORTVERSION)/
+MASTER_SITES= https://fedorahosted.org/releases/e/l/elfutils/${PORTVERSION}/
MAINTAINER= cem@FreeBSD.org
COMMENT= Library for manipulating ELF files and partial implementation of binutils
@@ -29,6 +29,7 @@ USES= gmake libtool tar:bzip2
USE_AUTOTOOLS= automake:env
USE_GCC= 4.8+
GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
CFLAGS+= -Wno-unused-parameter
# Give i386 a prayer of building, and we can fix the warnings later:
@@ -39,13 +40,13 @@ CONFIGURE_ARGS+= --program-prefix=eu-
post-patch:
@${CP} -a \
- $(LOCALBASE)/share/gnulib/lib/obstack.c \
- $(LOCALBASE)/share/gnulib/lib/obstack.h \
- $(LOCALBASE)/share/gnulib/lib/obstack_printf.c \
- $(WRKSRC)/lib
+ ${LOCALBASE}/share/gnulib/lib/obstack.c \
+ ${LOCALBASE}/share/gnulib/lib/obstack.h \
+ ${LOCALBASE}/share/gnulib/lib/obstack_printf.c \
+ ${WRKSRC}/lib
pre-configure:
- @cd $(WRKSRC) && ${AUTOMAKE}
+ @cd ${WRKSRC} && ${AUTOMAKE}
.include <bsd.port.pre.mk>