aboutsummaryrefslogtreecommitdiffstats
path: root/net/licq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/licq/Makefile')
-rw-r--r--net/licq/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/licq/Makefile b/net/licq/Makefile
index 25f4580a380e..9fc536e375c8 100644
--- a/net/licq/Makefile
+++ b/net/licq/Makefile
@@ -19,6 +19,7 @@ COMMENT= A popular ICQ-compatible plugin-based program
BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
LICQ_PORT?= ${.CURDIR}
@@ -39,13 +40,12 @@ CONFIGURE_ARGS+=--with-openssl-lib=${OPENSSLLIB}
.endif
pre-configure:
- @${MV} ${WRKSRC}/src/licq.conf.h ${WRKSRC}/src/licq.conf.h.sed
- ${SED} -e "s=/usr/share/licq=${PREFIX}/share/licq=" \
- ${WRKSRC}/src/licq.conf.h.sed > ${WRKSRC}/src/licq.conf.h
+ ${REINPLACE_CMD} -e 's=/usr/share/licq=${PREFIX}/share/licq=' \
+ ${WRKSRC}/src/licq.conf.h
@${ECHO_MSG} Ignoring existing libgnugetopt
- @${MV} ${WRKSRC}/configure ${WRKSRC}/configure.sed
- ${SED} -e "s=getopt.h==" \
- ${WRKSRC}/configure.sed > ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's=getopt.h==' \
+ -e 's=FLAGS -pthread=FLAGS ${PTHREAD_CFLAGS}=' \
+ ${WRKSRC}/configure
${CHMOD} +x ${WRKSRC}/configure
post-install: