head 1.14; access; symbols pkgsrc-2023Q4:1.14.0.18 pkgsrc-2023Q4-base:1.14 pkgsrc-2023Q3:1.14.0.16 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.14.0.14 pkgsrc-2023Q2-base:1.14 pkgsrc-2023Q1:1.14.0.12 pkgsrc-2023Q1-base:1.14 pkgsrc-2022Q4:1.14.0.10 pkgsrc-2022Q4-base:1.14 pkgsrc-2022Q3:1.14.0.8 pkgsrc-2022Q3-base:1.14 pkgsrc-2022Q2:1.14.0.6 pkgsrc-2022Q2-base:1.14 pkgsrc-2022Q1:1.14.0.4 pkgsrc-2022Q1-base:1.14 pkgsrc-2021Q4:1.14.0.2 pkgsrc-2021Q4-base:1.14 pkgsrc-2021Q3:1.13.0.38 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.36 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.34 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.32 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.30 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.26 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.6 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.28 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.24 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.22 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.20 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.18 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.16 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.14 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.12 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.10 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.8 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.4 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.2 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.12.0.8 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.6 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.4 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.2 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.11.0.6 pkgsrc-2015Q4-base:1.11 pkgsrc-2015Q3:1.11.0.4 pkgsrc-2015Q3-base:1.11 pkgsrc-2015Q2:1.11.0.2 pkgsrc-2015Q2-base:1.11 pkgsrc-2015Q1:1.10.0.10 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.10.0.8 pkgsrc-2014Q4-base:1.10 pkgsrc-2014Q3:1.10.0.6 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.4 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.10.0.2 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.9.0.6 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.4 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.2 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.8.0.4 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.2 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.7.0.4 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.2 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.5.0.2 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.4.0.4 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.2 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.2 pkgsrc-2011Q1-base:1.2; locks; strict; comment @# @; 1.14 date 2021.11.09.12.04.43; author nia; state Exp; branches; next 1.13; commitid mpiBaNixTtP1d7gD; 1.13 date 2017.01.17.22.57.39; author wiz; state Exp; branches; next 1.12; commitid BxzcOe1drjwuinCz; 1.12 date 2016.03.10.16.58.19; author jperkin; state Exp; branches; next 1.11; commitid PJtLncvNwXCOm7Yy; 1.11 date 2015.04.21.17.01.56; author joerg; state Exp; branches; next 1.10; commitid 4CPVCeF29Qz7Ntiy; 1.10 date 2014.03.19.16.44.08; author bsiegert; state Exp; branches; next 1.9; commitid cfX3Kd03P1nXuktx; 1.9 date 2013.04.28.12.53.56; author obache; state Exp; branches; next 1.8; 1.8 date 2012.11.19.11.34.15; author ryoon; state Exp; branches; next 1.7; 1.7 date 2012.06.16.20.13.06; author bsiegert; state Exp; branches; next 1.6; 1.6 date 2012.05.18.14.15.17; author bsiegert; state Exp; branches; next 1.5; 1.5 date 2012.03.19.12.34.18; author joerg; state Exp; branches; next 1.4; 1.4 date 2011.09.18.19.11.29; author bsiegert; state Exp; branches; next 1.3; 1.3 date 2011.09.10.16.30.02; author abs; state Exp; branches; next 1.2; 1.2 date 2011.03.19.14.07.10; author dholland; state Exp; branches; next 1.1; 1.1 date 2011.01.23.19.07.26; author agc; state Exp; branches; next ; desc @@ 1.14 log @mk: For consistency, rename PKG_HAS_ to OPSYS_HAVE_. Requested by jperkin. @ text @# $NetBSD: MirBSD.mk,v 1.13 2017/01/17 22:57:39 wiz Exp $ # # Variable definitions for the MirOS BSD operating system. ECHO_N?= ${ECHO} -n IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake PKGLOCALEDIR?= share PS?= /bin/ps RSH?= /usr/bin/false # not delivered with MirOS any more SU?= /usr/bin/su TYPE?= type # Shell builtin #USERADD?= ${LOCALBASE}/sbin/useradd #GROUPADD?= ${LOCALBASE}/sbin/groupadd #_USER_DEPENDS= user>=20000313:../../sysutils/user #XXX make this work CPP_PRECOMP_FLAGS?= # unset DEF_UMASK?= 0022 EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table MOTIF_TYPE_DEFAULT?= motif NOLOGIN?= /sbin/nologin PKG_TOOLS_BIN?= ${LOCALBASE}/sbin ROOT_CMD?= /usr/bin/sudo /bin/mksh -c ROOT_USER?= root ROOT_GROUP?= wheel ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` ULIMIT_CMD_cputime?= ulimit -t `ulimit -H -t` X11_TYPE?= modular _OPSYS_SYSTEM_RPATH?= /usr/lib _OPSYS_LIB_DIRS?= /usr/lib _OPSYS_INCLUDE_DIRS?= /usr/include _OPSYS_HAS_INET6= yes # IPv6 is standard _OPSYS_HAS_JAVA= no # Java is not standard _OPSYS_HAS_MANZ= no # MANZ controls gzipping of man pages _OPSYS_HAS_OSSAUDIO= yes # libossaudio is available _OPSYS_PERL_REQD= # no base version of perl required _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads _OPSYS_SHLIB_TYPE= ELF # shared lib type _PATCH_CAN_BACKUP= yes # native patch(1) can make backups _PATCH_BACKUP_ARG?= -V simple -z # switch to patch(1) for backup suffix _USE_RPATH= yes # add rpath to LDFLAGS BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden # at least until there is a newer gcc _STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip _STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip .if (${MACHINE_ARCH} == "i386") DEFAULT_SERIAL_DEVICE?= /dev/tty00 SERIAL_DEVICES?= /dev/tty00 \ /dev/tty01 .elif (${MACHINE_ARCH} == "sparc") DEFAULT_SERIAL_DEVICE?= /dev/ttya SERIAL_DEVICES?= /dev/ttya \ /dev/ttyb .else DEFAULT_SERIAL_DEVICE?= /dev/null SERIAL_DEVICES?= /dev/null .endif OPSYS_HAS_KQUEUE= # defined _OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk # check for maximum command line length and set it in configure's environment, # to avoid a test required by the libtool script that takes forever. _OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax @ 1.13 log @Bump LIBTOOL_REQD, newer version needed for cwrappers. PR 51826. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.12 2016/03/10 16:58:19 jperkin Exp $ d67 1 a67 1 PKG_HAVE_KQUEUE= # defined @ 1.12 log @Remove _OPSYS_WHOLE_ARCHIVE_FLAG and _OPSYS_NO_WHOLE_ARCHIVE_FLAG, these variables are unused and in at least one case were completely wrong anyway. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.11 2015/04/21 17:01:56 joerg Exp $ a40 1 _OPSYS_LIBTOOL_REQD= 1.5.22nb5 @ 1.11 log @Add a new ulimit modifier for cputime. Support raising limits for package creation. There are very few things in pkgsrc that needs more than one hour per process on decently fast hardware, so setting that as (soft) limit for bulk builds avoids the infinite loops seen in some other packages. There are a few select exceptions, i.e. flightgear-data needs more than one hour for pkg_create when using xz. This flag allows selectively giving those places more time without wasting resources in the broken cases. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.10 2014/03/19 16:44:08 bsiegert Exp $ a51 6 # flags passed to the linker to extract all symbols from static archives. # this is GNU ld. _OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive _OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive @ 1.10 log @MirBSD: remove -fvisibility=hidden until there is a version of gcc that supports it. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.9 2013/04/28 12:53:56 obache Exp $ d29 1 @ 1.9 log @Introduce _OPSYS_LIB_DIRS and _OPSYS_INCLUDE_DIRS varables. list of system library and header file directories. Also add missing _OPSYS_SYSTEM_RPATH for some platforms. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.8 2012/11/19 11:34:15 ryoon Exp $ d48 3 a50 1 BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library @ 1.8 log @Make MOTIF_TYPE_DEFAULT as motif (LGPL Motif) instead of openmotif or lesstif. No objection on tech-pkg@@. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.7 2012/06/16 20:13:06 bsiegert Exp $ d32 4 @ 1.7 log @Comment out dependency on sysutils/user for user and group management. The user package was removed two years ago :/. Let's see how we can handle this better on MirBSD. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.6 2012/05/18 14:15:17 bsiegert Exp $ d20 1 a20 1 MOTIF_TYPE_DEFAULT?= openmotif @ 1.6 log @Add a global BUILDLINK_TRANSFORM to remove -ldl. This library is an empty static library for compatibility reasons. If a libtool library is linking against -ldl, libtool only builds it statically because there is no libdl.so. This prevented, at least, the build of devel/gobject-introspection. Add it globally because there is no reason anyone would want to link against libdl on MirBSD. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.5 2012/03/19 12:34:18 joerg Exp $ d13 3 a15 3 USERADD?= ${LOCALBASE}/sbin/useradd GROUPADD?= ${LOCALBASE}/sbin/groupadd _USER_DEPENDS= user>=20000313:../../sysutils/user #XXX make this work @ 1.5 log @Drop imake-check logic from X11 components' builtin.mk. Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge. Always install man pages, not cat pages when using imake. Unify the various imake PLIST variables in preparation for dropping. Adjust xbattbar for the new expectations. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.4 2011/09/18 19:11:29 bsiegert Exp $ d44 2 @ 1.4 log @Tentatively switch X11_TYPE to modular to MirBSD. The native X is still X11R6 so many new applications do not build. meta-pkgs/modular-xorg-libs built correctly in my tests, so let's see what a bulk build will show. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.3 2011/09/10 16:30:02 abs Exp $ a31 15 # imake installs manpages in weird places # these values from /usr/X11R6/lib/X11/config/OpenBSD.cf # XXX verify against MirBSD.cf defns IMAKE_MAN_SOURCE_PATH= man/cat IMAKE_MANNEWSUFFIX= 0 IMAKE_MAN_SUFFIX= ${IMAKE_MANNEWSUFFIX} IMAKE_LIBMAN_SUFFIX= ${IMAKE_MANNEWSUFFIX} IMAKE_FILEMAN_SUFFIX= ${IMAKE_MANNEWSUFFIX} IMAKE_GAMEMAN_SUFFIX= ${IMAKE_MANNEWSUFFIX} IMAKE_MAN_DIR= ${IMAKE_MAN_SOURCE_PATH}1 IMAKE_LIBMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}3 IMAKE_FILEMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}5 IMAKE_GAMEMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}6 IMAKE_MANINSTALL?= maninstall catinstall @ 1.3 log @From "What platforms work with X11_TYPE=native" thread on pkgsrc-users. Based on the responses I'm going to switch the default X11_TYPE to be modular, and override in platform/*.mk files as required. The new values will be: Changed - from native to modular - FreeBSD - FreeMiNT - Linux Changed - older versions switched from native to modular - NetBSD - native for NetBSD-4 and later Native (unchanged) - should probably be switched to modular - AIX - BSDOS - IRIX - Interix - MirBSD - UnixWare Native (unchanged) - Darwin - for Leopard (10.5) and later - OpenBSD.mk - SunOS.mk Modular (unchanged) - DragonFly - HPUX - Haiku - OSF1 I'd like to encourage anyone using X11 apps on any platforms other than NetBSD, Darwin, DragonFly, FreeBSD, Linux, FreeMiNT, HPUX, Haiku or OSF1 to speak up, whether they are happy with native or having to set modular. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.2 2011/03/19 14:07:10 dholland Exp $ d30 1 a30 1 X11_TYPE?= native @ 1.2 log @Remove SETGIDGAME logic from here, like it was removed from the other platform .mk files. @ text @d1 1 a1 1 # $NetBSD: MirBSD.mk,v 1.1 2011/01/23 19:07:26 agc Exp $ d30 2 @ 1.1 log @Add support for MirBSD to pkgsrc. Patches from Benny Siegert and Thorsten Glaser. @ text @d1 1 a1 1 # $NetBSD$ a84 11 # If games are to be installed setgid, then SETGIDGAME is set to 'yes' # (it defaults to 'no' as per defaults/mk.conf). # Set the group and mode to meaningful values in that case (defaults to # BINOWN, BINGRP and BINMODE as per defaults/mk.conf). .if !(empty(SETGIDGAME:M[yY][eE][sS])) GAMEOWN= games GAMEGRP= games GAMEMODE= 2555 GAMEDIRMODE= 0775 .endif @