diff options
Diffstat (limited to 'net-im/meanwhile')
-rw-r--r-- | net-im/meanwhile/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net-im/meanwhile/Makefile b/net-im/meanwhile/Makefile index a612f374ea94..8e08ef1957d9 100644 --- a/net-im/meanwhile/Makefile +++ b/net-im/meanwhile/Makefile @@ -7,7 +7,7 @@ PORTNAME= meanwhile PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im MASTER_SITES= SF @@ -17,13 +17,18 @@ COMMENT= Open Source implementation of the Lotus Sametime protocol USE_AUTOTOOLS= libtool USE_GMAKE= yes USE_GNOME= gnomehack glib20 +USE_PKGCONFIG= build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-doxygen=no \ --with-gmp-prefix=${LOCALBASE} -CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -I${LOCALBASE}/include -DGLIB_COMPILATION LDFLAGS+= -L${LOCALBASE}/lib DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-doc-${PORTVERSION} +post-patch: + @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ + ${WRKSRC}/samples/*.c ${WRKSRC}/src/*.[ch] + .include <bsd.port.mk> |