diff options
author | db <db@FreeBSD.org> | 2012-06-08 11:47:36 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2012-06-08 11:47:36 +0800 |
commit | 56ff028e82ba25ab85fb153363eedc68ac616b51 (patch) | |
tree | 428e1469ac6ef4d1513ac9fec9c6f3f5f9382c4d /comms | |
parent | 283b5d37472225740d88072b7dad7f0194e125a9 (diff) | |
download | freebsd-ports-graphics-56ff028e82ba25ab85fb153363eedc68ac616b51.tar.gz freebsd-ports-graphics-56ff028e82ba25ab85fb153363eedc68ac616b51.tar.zst freebsd-ports-graphics-56ff028e82ba25ab85fb153363eedc68ac616b51.zip |
- Convert to optionsng
Diffstat (limited to 'comms')
-rw-r--r-- | comms/tlf/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/comms/tlf/Makefile b/comms/tlf/Makefile index b3986ce42c1..cfe3dd461a3 100644 --- a/comms/tlf/Makefile +++ b/comms/tlf/Makefile @@ -23,13 +23,16 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \ --libdir="${LOCALBASE}/lib" LDFLAGS+= ${PTHREAD_LIBS} -OPTIONS= HAMLIB "Use hamlib" ON + +OPTIONS_DEFINE= HAMLIB +HAMLIB_DESC= Use hamlib +OPTION_DEFAULT= HAMLIB MAN1= tlf.1 .include <bsd.port.pre.mk> -.if !defined(WITHOUT_HAMLIB) +.if ${PORT_OPTIONS:MHAMLIB} LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib CONFIGURE_ARGS+= --enable-hamlib .else |