svn commit: r528154 - head/devel/libexplain
Baptiste Daroussin
bapt at FreeBSD.org
Tue Mar 10 11:28:35 UTC 2020
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
More information about the svn-ports-head
mailing list