From da6a1e956c9ff6af0732f146f2ae37ba5f0f4701 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Sun, 24 Jun 2012 22:54:03 +0000 Subject: - This update fixes the log2 build error. [1] - Also converted to options NG while in here. - Added another distribution site. PR: ports/169173 [1] Submitted by: carl@stagecraft.cx --- comms/gmfsk/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'comms/gmfsk/Makefile') diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile index b544498199c8..8714dbc36095 100644 --- a/comms/gmfsk/Makefile +++ b/comms/gmfsk/Makefile @@ -9,7 +9,9 @@ PORTNAME= gmfsk PORTVERSION= 0.6 PORTREVISION= 10 CATEGORIES= comms audio hamradio -MASTER_SITES= http://gmfsk.connect.fi/ +MASTER_SITES= http://gmfsk.connect.fi/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= db MAINTAINER= carl@stagecraft.cx COMMENT= The Gnome MFSK terminal program @@ -27,18 +29,23 @@ INSTALLS_OMF= yes GCONF_SCHEMAS= gmfsk.schemas -OPTIONS= HAMLIB "Enable HAMLIB Support" On +OPTIONS_DEFINE= HAMLIB +HAMLIB_DESC= Enable HAMLIB Support +OPTIONS_DEFAULT= HAMLIB .include -.if !defined(WITHOUT_HAMLIB) +.if ${PORT_OPTIONS:MHAMLIB} LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib CONFIGURE_ARGS+= --enable-hamlib CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig +.else +CONFIGURE_ARGS+= --disable-hamlib .endif .if ( ${OSVERSION} >= 802502 && ${OSVERSION} < 900000 ) || ${OSVERSION} >= 900027 -BROKEN= does not build after log2 addition +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-misc_misc.c +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-misc_misc.h .endif post-patch: -- cgit v1.2.3