diff options
Diffstat (limited to 'comms/xlog/Makefile')
-rw-r--r-- | comms/xlog/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile index 6d34f266408c..56bf507d5803 100644 --- a/comms/xlog/Makefile +++ b/comms/xlog/Makefile @@ -21,9 +21,13 @@ MAN1= xlog.1 .include <bsd.port.mk> .if defined(WITH_HAMLIB) -LIB_DEPENDS= hamlib-1.1.4.1:${PORTSDIR}/comms/hamlib +LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib CONFIGURE_ARGS+= --enable-hamlib PLIST_SUB+= HAMLIB="" -CONFIGURE_ENV= PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig -MAKE_ENV= PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig +USE_PKGCONFIG= yes +.endif + +pre-extract: +.if !defined(WITH_HAMLIB) + @${ECHO_MSG} "You can enable hamlib support for Xlog by defining WITH_HAMLIB" .endif |