Unbreak with the PTLib 2.10.9 willamowius fork.
While here, tighten dependencies, fix configuration file and enable DEBUG_PACKAGES.
This commit is contained in:
parent
5dd5920764
commit
c3e88058be
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.91 2021/10/27 08:15:51 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.92 2021/11/28 11:42:25 ajacoutot Exp $
|
||||
|
||||
BROKEN-hppa= libpt.so.7.0: undefined reference to __sync_fetch_and_or_4
|
||||
|
||||
@ -9,6 +9,7 @@ GH_ACCOUNT= willamowius
|
||||
GH_PROJECT= gnugk
|
||||
GH_TAGNAME= v${V:S/./_/}
|
||||
PKGNAME= gnugk-${V}
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= net telephony
|
||||
|
||||
@ -19,9 +20,9 @@ MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} SDL c crypto curl expat h323 kvm
|
||||
WANTLIB += lber ldap ldap_r lua5.2 m maxminddb netsnmp netsnmpagent
|
||||
WANTLIB += netsnmpmibs pt rabbitmq sasl2 ssh ssl z
|
||||
WANTLIB += ${COMPILER_LIBCXX} c crypto curl h323 kvm lber ldap
|
||||
WANTLIB += ldap_r lua5.2 m maxminddb netsnmp netsnmpagent netsnmpmibs
|
||||
WANTLIB += pt sasl2 ssh ssl z
|
||||
|
||||
COMPILER= base-clang ports-gcc base-gcc
|
||||
|
||||
@ -37,7 +38,6 @@ LIB_DEPENDS= net/curl \
|
||||
net/h323plus \
|
||||
net/libmaxminddb \
|
||||
net/net-snmp \
|
||||
net/rabbitmq-c \
|
||||
security/libssh
|
||||
|
||||
ALL_TARGET= optshared
|
||||
@ -55,6 +55,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
CONFIGURE_ARGS= --disable-sqlite \
|
||||
--disable-unixodbc \
|
||||
--disable-mqtt \
|
||||
--disable-librabbitmq \
|
||||
--disable-redis \
|
||||
--with-pgsql-include-dir=${LOCALBASE}/include/postgresql \
|
||||
--with-lua-include-dir=${MODLUA_INCL_DIR} \
|
||||
@ -70,8 +71,11 @@ MAKE_ENV= VERBOSE=1
|
||||
MAKE_FLAGS= PT_LIBDIR=$$(pkg-config --variable libdir ptlib) \
|
||||
PTLIB_LIBDIR=$$(pkg-config --variable libdir ptlib) \
|
||||
OH323_LIBDIR=${LOCALBASE}/lib \
|
||||
OH323_INCDIR=${LOCALBASE}/include/openh323 \
|
||||
OBJDIR=.
|
||||
|
||||
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
||||
|
||||
pre-configure:
|
||||
sed -i.beforesubst 's,-llua,-llua${MODLUA_VERSION} -lm,g' \
|
||||
${WRKSRC}/configure
|
||||
|
14
net/gnugk/patches/patch-etc_gnugk_ini
Normal file
14
net/gnugk/patches/patch-etc_gnugk_ini
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-etc_gnugk_ini,v 1.1 2021/11/28 11:42:25 ajacoutot Exp $
|
||||
|
||||
Index: etc/gnugk.ini
|
||||
--- etc/gnugk.ini.orig
|
||||
+++ etc/gnugk.ini
|
||||
@@ -22,7 +22,7 @@ CallSignalPort=1720
|
||||
AcceptUnregisteredCalls=0
|
||||
DropCallsByReleaseComplete=1
|
||||
SupportNATedEndpoints=1
|
||||
-EnableH46018=1
|
||||
+;EnableH46018=1
|
||||
|
||||
; enable proxy mode if needed
|
||||
[Proxy]
|
Loading…
Reference in New Issue
Block a user