Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2020 13:22:18 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528528 - head/devel/libexplain
Message-ID:  <202003161322.02GDMIwR098196@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Mar 16 13:22:17 2020
New Revision: 528528
URL: https://svnweb.freebsd.org/changeset/ports/528528

Log:
  Revert r528154 and unbreak
  
  Reported by:	pkg-fallout

Modified:
  head/devel/libexplain/Makefile

Modified: head/devel/libexplain/Makefile
==============================================================================
--- head/devel/libexplain/Makefile	Mon Mar 16 12:49:57 2020	(r528527)
+++ head/devel/libexplain/Makefile	Mon Mar 16 13:22:17 2020	(r528528)
@@ -17,17 +17,18 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	gsed:textproc/gsed
 RUN_DEPENDS=	lsof:sysutils/lsof
 
-USES=		bison gettext ghostscript:build gmake groff iconv libtool localbase
+USES=		bison gettext ghostscript:build gmake groff iconv libtool:build
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_header_linux_kd_h=no
 USE_LDCONFIG=	yes
 
+CPPFLAGS+=	-I${LOCALBASE}/include
+LIBS+=		-L${LOCALBASE}/lib
+
 PATCHLEVEL=	D012
 
 OPTIONS_DEFINE=	DOCS
 
-BINARY_ALIAS=	sed=gsed
-
 .include <bsd.port.pre.mk>
 
 .if empty(ICONV_LIB)
@@ -36,6 +37,11 @@ CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=no
 CONFIGURE_ARGS+=ac_cv_func_iconv_open=yes ac_cv_func_iconv_close=yes \
 		ac_cv_lib_iconv_iconv=yes
 .endif
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|$$(libdir)/pkgconfig|$$(libdir)/../libdata/pkgconfig|g ; \
+		 s|\([[:blank:]]\)sed|\1gsed|g' ${WRKSRC}/Makefile.in
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexplain.so



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