1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- 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
This commit is contained in:
Antoine Brodin 2014-09-06 15:46:01 +00:00
parent 8169e0cd27
commit a88cf68406
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367445

View File

@ -13,8 +13,9 @@ COMMENT= Reliable event logging protocol library
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>