[Midnightbsd-cvs] mports [20290] fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 27 11:32:21 EDT 2015


Revision: 20290
          http://svnweb.midnightbsd.org/mports/?rev=20290
Author:   laffer1
Date:     2015-09-27 11:32:20 -0400 (Sun, 27 Sep 2015)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/devel/libexecinfo/Makefile
    trunk/devel/libexecinfo/files/patch-execinfo.c

Added Paths:
-----------
    trunk/devel/libexecinfo/files/patch-Makefile

Property Changed:
----------------
    trunk/devel/libexecinfo/files/patch-execinfo.c

Modified: trunk/devel/libexecinfo/Makefile
===================================================================
--- trunk/devel/libexecinfo/Makefile	2015-09-27 13:45:45 UTC (rev 20289)
+++ trunk/devel/libexecinfo/Makefile	2015-09-27 15:32:20 UTC (rev 20290)
@@ -3,10 +3,9 @@
 
 PORTNAME=	libexecinfo
 PORTVERSION=	1.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_FREEBSD_LOCAL}
-MASTER_SITE_SUBDIR=	itetcu
+MASTER_SITES=	FREEBSD_LOCAL/itetcu
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Library for inspecting program's backtrace
@@ -13,10 +12,13 @@
 
 LICENSE=	bsd2
 
+OPTIONS_DEFINE=	DOCS
+
 USES=		tar:bzip2 uidfix
 USE_LDCONFIG=	yes
-FAKE_MAKEARGS=	LIBDIR=${FAKE_DESTDIR}${PREFIX}/lib \
-		INCLUDEDIR=${FAKE_DESTDIR}${PREFIX}/include
+CFLAGS=		-fno-omit-frame-pointer
+FAKE_MAKEARGS=	LIBDIR=${PREFIX}/lib \
+		INCLUDEDIR=${PREFIX}/include
 
 PORTDOCS=	README
 
@@ -27,9 +29,7 @@
 .endif
 
 post-install:
-.if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
 
 .include <bsd.port.post.mk>

Added: trunk/devel/libexecinfo/files/patch-Makefile
===================================================================
--- trunk/devel/libexecinfo/files/patch-Makefile	                        (rev 0)
+++ trunk/devel/libexecinfo/files/patch-Makefile	2015-09-27 15:32:20 UTC (rev 20290)
@@ -0,0 +1,10 @@
+--- Makefile.orgi	2013-02-05 23:13:54.375834807 +0800
++++ Makefile	2013-02-05 23:14:13.106833334 +0800
+@@ -34,6 +34,7 @@
+ SHLIB_MINOR=	0
+ 
+ NOPROFILE=	yes
++NO_PROFILE=	yes
+ 
+ DPADD=		${LIBM}
+ LDADD=		-lm


Property changes on: trunk/devel/libexecinfo/files/patch-Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/devel/libexecinfo/files/patch-execinfo.c
===================================================================
--- trunk/devel/libexecinfo/files/patch-execinfo.c	2015-09-27 13:45:45 UTC (rev 20289)
+++ trunk/devel/libexecinfo/files/patch-execinfo.c	2015-09-27 15:32:20 UTC (rev 20290)
@@ -54,3 +54,11 @@
      return rval;
  }
  
+@@ -155,6 +158,6 @@
+                 return;
+             snprintf(buf, len, "%p\n", buffer[i]);
+         }
+-        write(fd, buf, len - 1);
++        write(fd, buf, strlen(buf));
+     }
+ }


Property changes on: trunk/devel/libexecinfo/files/patch-execinfo.c
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list