aboutsummaryrefslogtreecommitdiff
path: root/comms/hamlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/hamlib/Makefile')
-rw-r--r--comms/hamlib/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile
index bc9bc7c18256..eb9e4c6c0bb8 100644
--- a/comms/hamlib/Makefile
+++ b/comms/hamlib/Makefile
@@ -1,6 +1,5 @@
PORTNAME= hamlib
-PORTVERSION= 4.4
-PORTREVISION= 3
+PORTVERSION= 4.5.3
CATEGORIES= comms hamradio
MASTER_SITES= SF
@@ -27,16 +26,13 @@ CONFIGURE_ARGS= --with-perl-binding \
--with-tcl-binding --with-tcl=${TCL_LIBDIR} \
--with-libusb \
--with-python-binding
-CONFIGURE_ENV= LIBUSB_LIBS="-lusb"
+CONFIGURE_ENV= LIBUSB_LIBS="-lusb" cf_with_cxx=yes
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
-PLIST_SUB= VER=${PORTVERSION} TCL_VER=${TCL_VER}
+PLIST_SUB= TCL_VER=${TCL_VER}
OPTIONS_DEFINE= DOCS
-post-patch:
- @${REINPLACE_CMD} -e 's|python3-config|${PYTHON_CMD}-config|g' \
- ${WRKSRC}/macros/ax_python_devel.m4
post-build:
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' \
${WRKSRC}/bindings/Hamlib-pl.mk