Fri May 4 11:46:02 2012 UTC ()
It is possible to check shlibs on OpenBSD now.


(obache)
diff -r1.33 -r1.34 pkgsrc/mk/platform/OpenBSD.mk

cvs diff -r1.33 -r1.34 pkgsrc/mk/platform/OpenBSD.mk (expand / switch to unified diff)

--- pkgsrc/mk/platform/OpenBSD.mk 2012/03/19 12:34:18 1.33
+++ pkgsrc/mk/platform/OpenBSD.mk 2012/05/04 11:46:02 1.34
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: OpenBSD.mk,v 1.33 2012/03/19 12:34:18 joerg Exp $ 1# $NetBSD: OpenBSD.mk,v 1.34 2012/05/04 11:46:02 obache Exp $
2# 2#
3# Variable definitions for the OpenBSD operating system. 3# Variable definitions for the OpenBSD operating system.
4 4
5ECHO_N?= ${ECHO} -n 5ECHO_N?= ${ECHO} -n
6IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake 6IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
7PKGLOCALEDIR?= share 7PKGLOCALEDIR?= share
8PS?= /bin/ps 8PS?= /bin/ps
9# XXX: default from defaults/mk.conf. Verify/correct for this platform 9# XXX: default from defaults/mk.conf. Verify/correct for this platform
10# and remove this comment. 10# and remove this comment.
11SU?= /usr/bin/su 11SU?= /usr/bin/su
12TYPE?= type # Shell builtin 12TYPE?= type # Shell builtin
13 13
14.if exists(/usr/sbin/user) 14.if exists(/usr/sbin/user)
@@ -25,26 +25,28 @@ EXPORT_SYMBOLS_LDFLAGS?=-Wl,--export-dyn @@ -25,26 +25,28 @@ EXPORT_SYMBOLS_LDFLAGS?=-Wl,--export-dyn
25.endif 25.endif
26MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type 26MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type
27NOLOGIN?= /sbin/nologin 27NOLOGIN?= /sbin/nologin
28PKG_TOOLS_BIN?= ${LOCALBASE}/sbin 28PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
29ROOT_CMD?= ${SU} - root -c 29ROOT_CMD?= ${SU} - root -c
30ROOT_USER?= root 30ROOT_USER?= root
31ROOT_GROUP?= wheel 31ROOT_GROUP?= wheel
32ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` 32ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
33ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` 33ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
34ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` 34ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m`
35 35
36X11_TYPE?= native 36X11_TYPE?= native
37 37
 38_OPSYS_SYSTEM_RPATH?= /usr/lib
 39
38.if exists(/usr/include/netinet6) 40.if exists(/usr/include/netinet6)
39_OPSYS_HAS_INET6= yes # IPv6 is standard 41_OPSYS_HAS_INET6= yes # IPv6 is standard
40.else 42.else
41_OPSYS_HAS_INET6= no # IPv6 is not standard 43_OPSYS_HAS_INET6= no # IPv6 is not standard
42.endif 44.endif
43_OPSYS_HAS_JAVA= no # Java is not standard 45_OPSYS_HAS_JAVA= no # Java is not standard
44_OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages 46_OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages
45_OPSYS_HAS_OSSAUDIO= yes # libossaudio is available 47_OPSYS_HAS_OSSAUDIO= yes # libossaudio is available
46_OPSYS_PERL_REQD= # no base version of perl required 48_OPSYS_PERL_REQD= # no base version of perl required
47_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads 49_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
48_OPSYS_SHLIB_TYPE= ELF/a.out # shared lib type 50_OPSYS_SHLIB_TYPE= ELF/a.out # shared lib type
49_PATCH_CAN_BACKUP= yes # native patch(1) can make backups 51_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
50.if ${OS_VERSION} >= 3.4 52.if ${OS_VERSION} >= 3.4
@@ -78,18 +80,18 @@ SERIAL_DEVICES?= /dev/tty00 \ @@ -78,18 +80,18 @@ SERIAL_DEVICES?= /dev/tty00 \
78DEFAULT_SERIAL_DEVICE?= /dev/ttya 80DEFAULT_SERIAL_DEVICE?= /dev/ttya
79SERIAL_DEVICES?= /dev/ttya \ 81SERIAL_DEVICES?= /dev/ttya \
80 /dev/ttyb 82 /dev/ttyb
81.else 83.else
82DEFAULT_SERIAL_DEVICE?= /dev/null 84DEFAULT_SERIAL_DEVICE?= /dev/null
83SERIAL_DEVICES?= /dev/null 85SERIAL_DEVICES?= /dev/null
84.endif 86.endif
85 87
86# check for kqueue(2) support, added in OpenBSD-2.9 88# check for kqueue(2) support, added in OpenBSD-2.9
87.if exists(/usr/include/sys/event.h) 89.if exists(/usr/include/sys/event.h)
88PKG_HAVE_KQUEUE= # defined 90PKG_HAVE_KQUEUE= # defined
89.endif 91.endif
90 92
91_OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk 93_OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk
92 94
93# check for maximum command line length and set it in configure's environment, 95# check for maximum command line length and set it in configure's environment,
94# to avoid a test required by the libtool script that takes forever. 96# to avoid a test required by the libtool script that takes forever.
95_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax 97_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax