Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2014 15:46:01 +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: r367445 - head/devel/librelp
Message-ID:  <201409061546.s86Fk1sB066098@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Sep  6 15:46:01 2014
New Revision: 367445
URL: http://svnweb.freebsd.org/changeset/ports/367445
QAT: https://qat.redports.org/buildarchive/r367445/

Log:
  - USE_AUTOTOOLS contains aclocal but not autoconf which leaves configure
    out of date and causes make (build phase) to run autoconf, erasing any
    configure patches.  Then make reruns configure.  Instead of adding
    autoconf to USE_AUTOTOOLS avoid USE_AUTOTOOLS altogether by patching
    Makefile.in instead of Makefile.am.
  - Use INSTALL_TARGET=install-strip and USES=pathfix
  
  Commit message taken from:	tijl

Modified:
  head/devel/librelp/Makefile

Modified: head/devel/librelp/Makefile
==============================================================================
--- head/devel/librelp/Makefile	Sat Sep  6 15:44:09 2014	(r367444)
+++ head/devel/librelp/Makefile	Sat Sep  6 15:46:01 2014	(r367445)
@@ -13,8 +13,9 @@ COMMENT=	Reliable event logging protocol
 LIB_DEPENDS=	libgnutls.so:${PORTSDIR}/security/gnutls
 
 USES=		libtool pathfix pkgconfig
-USE_AUTOTOOLS=	automake aclocal
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 
 PLIST_FILES=	include/${PORTNAME}.h \
 		lib/${PORTNAME}.a \
@@ -27,10 +28,5 @@ PORT_VERBS=	relp
 post-patch:
 	@${REINPLACE_CMD} -e '/CFLAGS/s| -g||g' \
 		${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \
-		${WRKSRC}/Makefile.am
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librelp.so.0.1.0
 
 .include <bsd.port.mk>



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