Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2017 08:54:11 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436942 - in head/devel/bglibs: . files
Message-ID:  <201703260854.v2Q8sBpV077426@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Sun Mar 26 08:54:10 2017
New Revision: 436942
URL: https://svnweb.freebsd.org/changeset/ports/436942

Log:
  - Restore PORTEPOCH mistakenly removed in my previous commit. [1]
  - Add the right path to system headers.
  - We need PERL5 configure.
  
  Reported by:	vanilla@ [1]

Modified:
  head/devel/bglibs/Makefile
  head/devel/bglibs/files/patch-Makefile

Modified: head/devel/bglibs/Makefile
==============================================================================
--- head/devel/bglibs/Makefile	Sun Mar 26 08:44:32 2017	(r436941)
+++ head/devel/bglibs/Makefile	Sun Mar 26 08:54:10 2017	(r436942)
@@ -3,6 +3,7 @@
 
 PORTNAME=	bglibs
 PORTVERSION=	2.03
+PORTEPOCH=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://untroubled.org/${PORTNAME}/archive/ \
 		http://untroubled.org/${PORTNAME}/
@@ -14,7 +15,7 @@ LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		libtool:build perl5
-USE_PERL5=	run
+USE_PERL5=	run configure
 BGLIBS_INC=	${PREFIX}/include/${PORTNAME}
 BGLIBS_LIB=	${PREFIX}/lib/${PORTNAME}
 USE_LDCONFIG=	${BGLIBS_LIB}

Modified: head/devel/bglibs/files/patch-Makefile
==============================================================================
--- head/devel/bglibs/files/patch-Makefile	Sun Mar 26 08:44:32 2017	(r436941)
+++ head/devel/bglibs/files/patch-Makefile	Sun Mar 26 08:54:10 2017	(r436942)
@@ -29,6 +29,15 @@
  
  bg-installer.o: compile bg-installer.c sysdeps.h include/bglibs/cli.h include/bglibs/fmt.h include/bglibs/ibuf.h include/bglibs/iobuf_common.h include/bglibs/obuf.h sysdeps.h include/iobuf_common.h include/bglibs/iobuf.h include/ibuf.h include/obuf.h sysdeps.h include/bglibs/msg.h sysdeps.h include/bglibs/debug.h include/bglibs/wrap.h include/bglibs/path.h include/bglibs/str.h sysdeps.h include/str.h sysdeps.h include/bglibs/striter.h bg-installer-cli.h
  	./compile bg-installer.c
+@@ -152,7 +152,7 @@ compile: conf-cc
+ 	( echo '#!/bin/sh'; \
+ 	  echo 'source=$$1; shift'; \
+ 	  echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
+-	  echo exec `head -n 1 conf-cc` -I.  "-I'include/bglibs'" "-I'include'" '-o $${base}.o -c $$source $${1+"$$@"}'; \
++	  echo exec `head -n 1 conf-cc` -I. "-I'include/bglibs'" "-I'/usr/local/include'" '-o $${base}.o -c $$source $${1+"$$@"}'; \
+ 	) >compile
+ 	chmod 755 compile
+ 
 @@ -864,7 +864,7 @@ path/mktemp.lo path/mktemp.o: ltcompile 
  
  perl-head.pl: 



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