diff --git a/net/dxpc/Makefile b/net/dxpc/Makefile index 513182933b4..26be99ded18 100644 --- a/net/dxpc/Makefile +++ b/net/dxpc/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.5 1999/10/29 12:05:31 espie Exp $ +# $OpenBSD: Makefile,v 1.6 1999/11/14 21:49:14 espie Exp $ -DISTNAME= dxpc-3.7.0 +DISTNAME= dxpc-3.8.0 CATEGORIES= net x11 MAINTAINER= espie@openbsd.org @@ -8,12 +8,12 @@ MAINTAINER= espie@openbsd.org MASTER_SITES= ftp://ftp.x.org/contrib/utilities/ \ ftp://sunsite.unc.edu/pub/Linux/X11/xutils/ +LIB_DEPENDS=lzo:${PORTSDIR}/archivers/lzo CXXFLAGS= -O2 NEED_VERSION=1.47 -USE_EGXX= yes -# we need to make a proper check for accept -USE_AUTOCONF= yes +GNU_CONFIGURE=yes +CONFIGURE_ARGS=--with-lzo-lib=${PREFIX} .include diff --git a/net/dxpc/files/md5 b/net/dxpc/files/md5 index dcc980372fd..9a5f546abf1 100644 --- a/net/dxpc/files/md5 +++ b/net/dxpc/files/md5 @@ -1,3 +1,3 @@ -MD5 (dxpc-3.7.0.tar.gz) = 9b9b6605e46bf1731d44e150049a019e -RMD160 (dxpc-3.7.0.tar.gz) = 419f73369ebf88cfb5d1d30c639966dfb8f1aee9 -SHA1 (dxpc-3.7.0.tar.gz) = 06b6b7d555c3f1b40e61f54cabddc65ddf619d25 +MD5 (dxpc-3.8.0.tar.gz) = ce5b121c824173b182daf6061175f5cd +RMD160 (dxpc-3.8.0.tar.gz) = f2ff791de91ea546a5d8fccd15377c13a5d1ddeb +SHA1 (dxpc-3.8.0.tar.gz) = b296e009447d6aa70dfd6e20b421b5485717f026 diff --git a/net/dxpc/patches/patch-aa b/net/dxpc/patches/patch-aa deleted file mode 100644 index 9631152cfa8..00000000000 --- a/net/dxpc/patches/patch-aa +++ /dev/null @@ -1,26 +0,0 @@ ---- configure.in.orig Tue Jun 1 19:29:14 1999 -+++ configure.in Tue Jun 1 19:29:18 1999 -@@ -12,14 +12,13 @@ - AC_PATH_XTRA - #AC_CHECK_HEADERS(sys/select.h) - --# UnixWare-2.x and AIX reportedly declare accept(2) with size_t, rather --# than int, as the type of the third argument... --if uname -a | egrep -i "UNIX_SV.*4\.2MP.*86" >/dev/null --then -- AC_DEFINE(DXPC_ACCEPT_IS_SIZE_T) --elif uname -a | egrep -i "AIX" >/dev/null --then -- AC_DEFINE(DXPC_ACCEPT_IS_SIZE_T) --fi -- -+dnl recent systems want socklen_t for accept third argument -+AC_TRY_COMPILE([ -+#include -+#include ], -+[int f() -+ { -+ socklen_t *third; -+ return accept(0, 0, third); -+ }], AC_DEFINE(DXPC_ACCEPT_IS_SIZE_T)) - AC_OUTPUT(Makefile)