fd053ffa51
On DragonFly, this package always halted on the configure stage with the message, "configure: error: unrecognized options: --with-libintl-prefix" We couldn't find the source of this obsolete configure option, it didn't come from mldonkey and devel/gettext-lib isn't a dependency. Adding --disable-option-checking changed allowed this to be a warning rather than a fatal error and also allows a successful build. Background: DragonFly doesn't have libintl in base.
34 lines
1,021 B
Makefile
34 lines
1,021 B
Makefile
# $NetBSD: Makefile,v 1.53 2012/07/20 14:13:53 marino Exp $
|
|
#
|
|
|
|
.include "../../net/mldonkey/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/mldonkey/mldonkey-gui/}
|
|
PKGREVISION= 2
|
|
|
|
COMMENT+= (GTK interface)
|
|
|
|
DEPENDS+= mldonkey-[0-9]*:../../net/mldonkey
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
INSTALLATION_DIRS= bin libexec/mldonkey
|
|
|
|
CONFIGURE_ARGS+= --enable-gui=newgui2
|
|
CONFIGURE_ARGS+= --disable-option-checking
|
|
|
|
do-install:
|
|
${RM} -f ${DESTDIR}${PREFIX}/bin/mlgui
|
|
cd ${DESTDIR}${PREFIX}/bin && ${LN} -s ../libexec/mldonkey/mlgui mlgui
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlgui ${DESTDIR}${PREFIX}/libexec/mldonkey
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlguistarter \
|
|
${DESTDIR}${PREFIX}/libexec/mldonkey
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mlnet+gui \
|
|
${DESTDIR}${PREFIX}/libexec/mldonkey
|
|
|
|
.include "../../graphics/librsvg/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
# 2.6.0 is the first ~stable version (for mldonkey)
|
|
BUILDLINK_API_DEPENDS.lablgtk+= lablgtk>=2.6.0
|
|
.include "../../x11/lablgtk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|