mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
1ef269ccbe
misc.h:110: error: conflicting types for 'log2' Reported by: pointyhat
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# New ports collection makefile for: gmfsk
|
|
# Date created: 29th May 2003
|
|
# Whom: Carl Makin <carl@stagecraft.cx>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gmfsk
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 10
|
|
CATEGORIES= comms audio hamradio
|
|
MASTER_SITES= http://gmfsk.connect.fi/
|
|
|
|
MAINTAINER= carl@stagecraft.cx
|
|
COMMENT= The Gnome MFSK terminal program
|
|
|
|
LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
|
|
|
|
GNU_CONFIGURE= yes
|
|
# This is pure evil but it looks like autoconf 2.53 has a bug in linking the
|
|
# preprocessor include tests. The following line is a work around.
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
USE_GMAKE= yes
|
|
USE_GNOME= libgnomeui gnomehack gnomeprefix
|
|
INSTALLS_OMF= yes
|
|
|
|
GCONF_SCHEMAS= gmfsk.schemas
|
|
|
|
OPTIONS= HAMLIB "Enable HAMLIB Support" On
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_HAMLIB)
|
|
LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib
|
|
CONFIGURE_ARGS+= --enable-hamlib
|
|
CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig
|
|
.endif
|
|
|
|
.if ( ${OSVERSION} >= 802502 && ${OSVERSION} < 900000 ) || ${OSVERSION} >= 900027
|
|
BROKEN= does not build after log2 addition
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|[$$][(]localstatedir[)]/lib/scrollkeeper|${SCROLLKEEPER_DIR}|g' \
|
|
${WRKSRC}/omf.make ${WRKSRC}/help/gmfsk/C/Makefile.in
|
|
|
|
post-install:
|
|
@${CAT} pkg-message
|
|
|
|
.include <bsd.port.post.mk>
|