aboutsummaryrefslogtreecommitdiff
path: root/net-im/centerim
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-15 21:29:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-15 21:29:39 +0000
commit104eb5d9be9e4437117c3e2423c1003f09a31d72 (patch)
tree61c070a3d087b5d7c318a5411b0a30333f3633c4 /net-im/centerim
parent73729f0b2003125b9b2a327ca075e0f0123ac11c (diff)
downloadports-104eb5d9be9e4437117c3e2423c1003f09a31d72.tar.gz
ports-104eb5d9be9e4437117c3e2423c1003f09a31d72.zip
Fix build on -current, and fix some shebangs.
Notes
Notes: svn path=/head/; revision=365055
Diffstat (limited to 'net-im/centerim')
-rw-r--r--net-im/centerim/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-im/centerim/Makefile b/net-im/centerim/Makefile
index c886e24d8801..6eb0eb5c100e 100644
--- a/net-im/centerim/Makefile
+++ b/net-im/centerim/Makefile
@@ -13,7 +13,7 @@ COMMENT= Text mode menu- and window-driven IM interface
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
-USES= iconv gmake pkgconfig
+USES= iconv gmake pkgconfig shebangfix
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -22,6 +22,11 @@ CONFIGURE_ARGS= --with-ssl --with-openssl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFLICTS= centericq-[0-9]* centerim-devel-[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
@@ -60,6 +65,8 @@ GPGME_CONFIGURE_OFF= --with-gpgme-prefix=/nonexistent
post-patch:
@${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \
${WRKSRC}/misc/CenterIMLog2HTML.py
+ @${REINPLACE_CMD} -e 's|-R$$found_dir|-Wl,-rpath,$$found_dir|' \
+ ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}