UCL libcommon 1.0.6
This commit is contained in:
parent
0cdde42af6
commit
69caff89d9
19
mbone/common/Makefile
Normal file
19
mbone/common/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/09/02 20:59:15 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= common
|
||||
CATEGORIES= mbone
|
||||
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
|
||||
DISTFILES= common-1.0.6.tar.gz
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
LIB_DEPENDS= tk80:${PORTSDIR}/x11/tk80 \
|
||||
tcl80:${PORTSDIR}/lang/tcl80
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/libcommon.a ${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
3
mbone/common/files/md5
Normal file
3
mbone/common/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (common-1.0.6.tar.gz) = 73e4a0210f61128304e97f56670a14bd
|
||||
RMD160 (common-1.0.6.tar.gz) = 00e43ac0ea67a386a6e04ca32d734f2a9ba4e75a
|
||||
SHA1 (common-1.0.6.tar.gz) = fa5de004a47ea7dc7682e2318ed73ec3cf4d8642
|
104
mbone/common/patches/patch-common
Normal file
104
mbone/common/patches/patch-common
Normal file
@ -0,0 +1,104 @@
|
||||
*** Makefile.in.orig Sun Jul 4 17:57:30 1999
|
||||
--- Makefile.in Thu Sep 2 16:45:17 1999
|
||||
***************
|
||||
*** 3,9 ****
|
||||
# This probably requires GNU make.
|
||||
#
|
||||
|
||||
! CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__ -D__OSTYPE__
|
||||
INC = __INCLUDE__
|
||||
CC = __CC__
|
||||
AR = __AR__
|
||||
--- 3,9 ----
|
||||
# This probably requires GNU make.
|
||||
#
|
||||
|
||||
! CFLAGS = __WFLAGS__ __DEBUG__ __CHAR__ __PROFILE__ __OPTIMIZE__ __CHECK_FLAG__ __DEFS__
|
||||
INC = __INCLUDE__
|
||||
CC = __CC__
|
||||
AR = __AR__
|
||||
*** config_unix.h.orig Thu Jun 10 12:15:32 1999
|
||||
--- config_unix.h Thu Sep 2 16:45:17 1999
|
||||
***************
|
||||
*** 50,56 ****
|
||||
#include <signal.h>
|
||||
#include <ctype.h>
|
||||
|
||||
! #ifndef __FreeBSD__
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
--- 50,56 ----
|
||||
#include <signal.h>
|
||||
#include <ctype.h>
|
||||
|
||||
! #if !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
***************
|
||||
*** 73,79 ****
|
||||
#include <netdb.h>
|
||||
#include <arpa/inet.h>
|
||||
extern int h_errno;
|
||||
! #if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__)
|
||||
#include <stropts.h>
|
||||
#include <sys/filio.h>
|
||||
#endif /* HPUX */
|
||||
--- 73,79 ----
|
||||
#include <netdb.h>
|
||||
#include <arpa/inet.h>
|
||||
extern int h_errno;
|
||||
! #if !defined(HPUX) && !defined(Linux) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
||||
#include <stropts.h>
|
||||
#include <sys/filio.h>
|
||||
#endif /* HPUX */
|
||||
*** configure.orig Mon Jun 21 06:53:35 1999
|
||||
--- configure Thu Sep 2 16:45:56 1999
|
||||
***************
|
||||
*** 44,50 ****
|
||||
;;
|
||||
HP-UX ) OSTYPE=HPUX
|
||||
;;
|
||||
! Linux | IRIX | IRIX64 | FreeBSD | NetBSD )
|
||||
;;
|
||||
* ) echo "$OSTYPE not supported. Sorry."
|
||||
exit
|
||||
--- 44,50 ----
|
||||
;;
|
||||
HP-UX ) OSTYPE=HPUX
|
||||
;;
|
||||
! Linux | IRIX | IRIX64 | FreeBSD | NetBSD | OpenBSD)
|
||||
;;
|
||||
* ) echo "$OSTYPE not supported. Sorry."
|
||||
exit
|
||||
***************
|
||||
*** 118,123 ****
|
||||
--- 118,132 ----
|
||||
OPTIMIZE="-O4"
|
||||
PROFILE="-pg"
|
||||
;;
|
||||
+ OpenBSD ) CC="gcc"
|
||||
+ WFLAGS=$GCCWFLAGS
|
||||
+ INCLUDE="-I/usr/local/include"
|
||||
+ LDLIBS="-lm"
|
||||
+ DEBUG="-g"
|
||||
+ CHAR="-fsigned-char"
|
||||
+ OPTIMIZE="-O4"
|
||||
+ PROFILE="-pg"
|
||||
+ ;;
|
||||
NetBSD ) CC="gcc"
|
||||
WFLAGS=$GCCWFLAGS
|
||||
INCLUDE="-I/usr/local/include"
|
||||
***************
|
||||
*** 241,249 ****
|
||||
CHECK_FLAG=-fbounds-checking
|
||||
CHECK_LIB=-lcheck
|
||||
echo "Enabled bounds checking option"
|
||||
- else
|
||||
- DEFS="$DEFS $1"
|
||||
- echo "Added $1 compile flag"
|
||||
fi
|
||||
shift
|
||||
done
|
||||
--- 250,255 ----
|
1
mbone/common/pkg/COMMENT
Normal file
1
mbone/common/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Common library functions used by the UCL multicast utils.
|
1
mbone/common/pkg/DESCR
Normal file
1
mbone/common/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
Common library functions used by the UCL multicast utilities.
|
1
mbone/common/pkg/PLIST
Normal file
1
mbone/common/pkg/PLIST
Normal file
@ -0,0 +1 @@
|
||||
lib/libcommon.a
|
Loading…
x
Reference in New Issue
Block a user