Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2020 11:28:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528154 - head/devel/libexplain
Message-ID:  <202003101128.02ABSYCP004622@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Mar 10 11:28:34 2020
New Revision: 528154
URL: https://svnweb.freebsd.org/changeset/ports/528154

Log:
  Cleanup a little bit:
  - Remove useless patching for pkgconfig, the framework handles that correctly
  - Use binary alias instead of patching for gnu sed
  - Use localbase

Modified:
  head/devel/libexplain/Makefile

Modified: head/devel/libexplain/Makefile
==============================================================================
--- head/devel/libexplain/Makefile	Tue Mar 10 11:22:24 2020	(r528153)
+++ head/devel/libexplain/Makefile	Tue Mar 10 11:28:34 2020	(r528154)
@@ -17,18 +17,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	gsed:textproc/gsed
 RUN_DEPENDS=	lsof:sysutils/lsof
 
-USES=		bison gettext ghostscript:build gmake groff iconv libtool:build
+USES=		bison gettext ghostscript:build gmake groff iconv libtool localbase
 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)
@@ -37,11 +36,6 @@ 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?202003101128.02ABSYCP004622>