Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 17:01:12 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365001 - in head/devel/elf: . files
Message-ID:  <201408151701.s7FH1CJU068231@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Aug 15 17:01:12 2014
New Revision: 365001
URL: http://svnweb.freebsd.org/changeset/ports/365001
QAT: https://qat.redports.org/buildarchive/r365001/

Log:
  Fix build on -current.

Modified:
  head/devel/elf/Makefile
  head/devel/elf/files/patch-src__Makefile.in

Modified: head/devel/elf/Makefile
==============================================================================
--- head/devel/elf/Makefile	Fri Aug 15 16:54:04 2014	(r365000)
+++ head/devel/elf/Makefile	Fri Aug 15 17:01:12 2014	(r365001)
@@ -18,4 +18,7 @@ PLIST_FILES=	bin/elf man/man1/elf.1.gz
 post-patch:
 	@${REINPLACE_CMD} -e 's/gcc/${CC}/g' ${WRKSRC}/src/Makefile.in
 
+do-build:
+	${DO_MAKE_BUILD} -C ${WRKSRC}/src
+
 .include <bsd.port.mk>

Modified: head/devel/elf/files/patch-src__Makefile.in
==============================================================================
--- head/devel/elf/files/patch-src__Makefile.in	Fri Aug 15 16:54:04 2014	(r365000)
+++ head/devel/elf/files/patch-src__Makefile.in	Fri Aug 15 17:01:12 2014	(r365001)
@@ -1,6 +1,18 @@
---- src/Makefile.in.orig	2014-06-07 13:35:52.417434266 +0800
-+++ src/Makefile.in	2014-06-07 13:36:02.841435177 +0800
-@@ -16,7 +16,7 @@ main.o:		main.c ../include/sehdr.h ../in
+--- src/Makefile.in.orig	2003-09-20 10:23:28.000000000 -0400
++++ src/Makefile.in	2014-08-15 12:59:59.000000000 -0400
+@@ -1,9 +1,9 @@
+ CC=gcc
+-INC=-I../include
++INC=-I../include ${CPPFLAGS}
+ CFLAGS=@CFLAGS@
+ PREFIX=@prefix@
+ BINDIR=$(PREFIX)/bin
+-LIBS=@LIBS@
++LIBS=@LIBS@ ${LDFLAGS}
+ 
+ elf:		main.o elf.o
+ 		$(CC) $(CFLAGS) $(INC) main.o elf.o -o elf $(LIBS)
+@@ -16,7 +16,7 @@
  		$(CC) $(CFLAGS) $(INC) -c main.c
  
  install:	elf



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