Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 18:23:09 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368125 - head/misc/pinfo
Message-ID:  <201409131823.s8DIN9s7066590@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Sep 13 18:23:08 2014
New Revision: 368125
URL: http://svnweb.freebsd.org/changeset/ports/368125
QAT: https://qat.redports.org/buildarchive/r368125/

Log:
  - Convert to USES=libtool
  - Run autopoint to install gettext related build scripts

Modified:
  head/misc/pinfo/Makefile

Modified: head/misc/pinfo/Makefile
==============================================================================
--- head/misc/pinfo/Makefile	Sat Sep 13 18:11:36 2014	(r368124)
+++ head/misc/pinfo/Makefile	Sat Sep 13 18:23:08 2014	(r368125)
@@ -13,16 +13,14 @@ COMMENT=	Ncurses based, lynx style info 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		makeinfo ncurses tar:bzip2
+USES=		libtool makeinfo ncurses tar:bzip2
 USE_AUTOTOOLS=	libtoolize aclocal autoheader automake autoconf
-LIBTOOLIZE_ARGS=--force
 ACLOCAL_ARGS=	-I macros
 AUTOMAKE_ARGS=	--add-missing --force-missing
 CONFIGURE_ARGS=	--with-localedir=${PREFIX}/share/locale
 
-CFLAGS+=	-DHAVE_LOCALE_H
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LIBS+=		-L${LOCALBASE}/lib
 
 INFO=		pinfo
 PLIST_FILES=	bin/pinfo etc/pinforc man/man1/pinfo.1.gz
@@ -44,13 +42,7 @@ USES+=		gettext:build
 CONFIGURE_ARGS+=--disable-nls
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|@MKINSTALLDIRS@|$$(top_srcdir)/tools/install-sh -d|' \
-		${WRKSRC}/po/Makefile.in.in
-
 pre-configure:
-	@${MKDIR} ${WRKSRC}/tools
-	@${LN} -sf ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}/tools
+	@(cd ${WRKSRC} && ${LOCALBASE}/bin/autopoint -f)
 
 .include <bsd.port.mk>



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