1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- remove omf directory [1]

- fix compilation when openldap-2.3.x is installed [2]

PR:		95465 [2]
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de> [1,2]
Notified by:	pointyhat/kris [1]
This commit is contained in:
Alexander Leidinger 2006-04-08 18:16:26 +00:00
parent 0e3d3a6031
commit ed142c1b3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159142
2 changed files with 11 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gnomemeeting
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
@ -22,6 +23,7 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= libgnomeui libbonobo gnomeprefix gnomehack evolutiondataserver \
intlhack
INSTALLS_OMF= yes
USE_OPENLDAP= yes
GCONF_SCHEMAS= gnomemeeting.schemas
USE_SDL= yes
@ -33,7 +35,7 @@ CONFIGURE_ENV= OSTYPE=${OPSYS} \
CXXFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \
CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include ${LDAP_CPPFLAGS} ${PTHREAD_CFLAGS}" \
PTLIBDIR=${PREFIX}
CONFIGURE_ARGS= --with-pwlib-dir=${LOCALBASE} \
@ -42,6 +44,12 @@ CONFIGURE_ARGS= --with-pwlib-dir=${LOCALBASE} \
MAN1= gnomemeeting.1
.include <bsd.port.pre.mk>
.if (${WANT_OPENLDAP_VER} == "23")
LDAP_CPPFLAGS= -DLDAP_DEPRECATED
.endif
post-patch:
${REINPLACE_CMD} -e 's:-lh323_FreeBSD_x86_r_s:-lh323_r:g; \
s:-lpt_FreeBSD_x86_r_s:-lpt_r:g; \
@ -50,4 +58,4 @@ post-patch:
s: -DSTATIC_LIBS_USED::g' \
${WRKSRC}/configure
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -107,6 +107,7 @@ share/locale/zh_TW/LC_MESSAGES/gnomemeeting.mo
@dirrm share/gnome/help/gnomemeeting/fr/figures
@dirrm share/gnome/help/gnomemeeting/fr
@dirrm share/gnome/help/gnomemeeting
@dirrm share/gnome/omf/gnomemeeting
@dirrm share/gnome/sounds/gnomemeeting
@dirrm share/gnome/gnomemeeting/xdap
@dirrm share/gnome/gnomemeeting