mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
* libicq2000
- Return correct cflags when libicq2000-config is called [1] - USE_REINPLACE - Bump PORTREVISION * ickle - Patch to work with aforementioned fix Prompted by: Neil Darlow <neil@darlow.co.uk> [1]
This commit is contained in:
parent
b152a41d69
commit
d9375a36b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64219
@ -20,15 +20,17 @@ LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \
|
||||
|
||||
WANT_GNOME= yes
|
||||
USE_GTK= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
||||
CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \
|
||||
--with-gtkmm-prefix=${X11BASE}
|
||||
CONFIGURE_ENV= CPPFLAGS="`${LOCALBASE}/bin/sigc-config --cflags`"
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's|(#include <sys/socket.h>)|#include <sys/types.h>\n\1|' \
|
||||
${WRKSRC}/ctrlsocket/ControlSocket.h
|
||||
@${REINPLACE_CMD} -E -e 's|(gtkmm_config_args[[:space:]]*=).+$$|\1|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libicq2000
|
||||
PORTVERSION= 0.3.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -16,6 +17,7 @@ MAINTAINER= lioux@FreeBSD.org
|
||||
LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN1= libicq2000-config.1
|
||||
|
||||
@ -23,14 +25,16 @@ DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
|
||||
TODO
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e \
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^(headersincludedir =).+|\1\$$(includedir)/libicq2000|' \
|
||||
${WRKSRC}/libicq2000/Makefile.in
|
||||
@${PERL} -pi -e 's|(iomanip).h|\1|' ${WRKSRC}/libicq2000/buffer.h
|
||||
@${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \
|
||||
${WRKSRC}/libicq2000-config.in
|
||||
|
||||
post-configure:
|
||||
@${CP} ${LOCALBASE}/bin/libtool ${WRKSRC}
|
||||
@${PERL} -pi -e 's|^(install_ltlibs=).*|\1no|' ${WRKSRC}/libtool
|
||||
@${REINPLACE_CMD} -E -e 's|^(install_ltlibs=).+$$|\1no|' \
|
||||
${WRKSRC}/libtool
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
|
@ -20,15 +20,17 @@ LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \
|
||||
|
||||
WANT_GNOME= yes
|
||||
USE_GTK= yes
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
||||
CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \
|
||||
--with-gtkmm-prefix=${X11BASE}
|
||||
CONFIGURE_ENV= CPPFLAGS="`${LOCALBASE}/bin/sigc-config --cflags`"
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's|(#include <sys/socket.h>)|#include <sys/types.h>\n\1|' \
|
||||
${WRKSRC}/ctrlsocket/ControlSocket.h
|
||||
@${REINPLACE_CMD} -E -e 's|(gtkmm_config_args[[:space:]]*=).+$$|\1|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libicq2000
|
||||
PORTVERSION= 0.3.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -16,6 +17,7 @@ MAINTAINER= lioux@FreeBSD.org
|
||||
LIB_DEPENDS= sigc.1:${PORTSDIR}/devel/libsigc++
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN1= libicq2000-config.1
|
||||
|
||||
@ -23,14 +25,16 @@ DOC_FILES= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
|
||||
TODO
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e \
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's|^(headersincludedir =).+|\1\$$(includedir)/libicq2000|' \
|
||||
${WRKSRC}/libicq2000/Makefile.in
|
||||
@${PERL} -pi -e 's|(iomanip).h|\1|' ${WRKSRC}/libicq2000/buffer.h
|
||||
@${REINPLACE_CMD} -E -e 's|^(pkgincludedir.+)/@PACKAGE@|\1|' \
|
||||
${WRKSRC}/libicq2000-config.in
|
||||
|
||||
post-configure:
|
||||
@${CP} ${LOCALBASE}/bin/libtool ${WRKSRC}
|
||||
@${PERL} -pi -e 's|^(install_ltlibs=).*|\1no|' ${WRKSRC}/libtool
|
||||
@${REINPLACE_CMD} -E -e 's|^(install_ltlibs=).+$$|\1no|' \
|
||||
${WRKSRC}/libtool
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
|
Loading…
Reference in New Issue
Block a user