From 4c029c7c5f063231f8f53d42a1671eb7dd92b0fc Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 15 Aug 2014 21:32:57 +0000 Subject: [PATCH] Fix build on -current and fix shebangs. --- net-im/centerim-devel/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-im/centerim-devel/Makefile b/net-im/centerim-devel/Makefile index 288ad066b3f4..282a94bdbeb0 100644 --- a/net-im/centerim-devel/Makefile +++ b/net-im/centerim-devel/Makefile @@ -17,13 +17,18 @@ LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl USE_PYTHON_RUN= yes -USES= iconv gmake perl5 pkgconfig +USES= iconv gmake perl5 pkgconfig shebangfix USE_PERL5= run USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ssl --with-openssl CONFLICTS= centericq-[0-9]* centerim-[0-9]* +SHEBANG_FILES= misc/cimformathistory misc/cimextracthistory.pl +SHEBANG_LANG= gawk +gawk_OLD_CMD= /bin/gawk +gawk_CMD= /usr/bin/awk + OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG FRIBIDI_DESC= Fribidi Support @@ -62,6 +67,8 @@ GPGME_CONFIGURE_OFF= --with-gpgme-prefix=/nonexistent post-patch: @${REINPLACE_CMD} -e 's|/var/run/screen|/tmp/screens|' \ ${WRKSRC}/src/icqconf.cc + @${REINPLACE_CMD} -e 's|-R$$found_dir|-Wl,-rpath,$$found_dir|' \ + ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}