From 38c3dbe8b78af90aaa6c33b9ed08ed4c7c377c3f Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 19 Oct 2007 13:41:34 +0000 Subject: Reverted the last changes, which factored out some definitions that are usually the same on the supported platforms. The reason for having duplicate code in these files is to make it easier to port pkgsrc to a new platform: You just have to copy one of the existing platform files and edit the values in it. With some values factored out, you would have to look at one more file. Pointed out by agc@. --- mk/platform/Interix.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mk/platform/Interix.mk') diff --git a/mk/platform/Interix.mk b/mk/platform/Interix.mk index afa54db19fb..05e134fcb3e 100644 --- a/mk/platform/Interix.mk +++ b/mk/platform/Interix.mk @@ -1,4 +1,4 @@ -# $NetBSD: Interix.mk,v 1.53 2007/10/18 21:52:24 rillig Exp $ +# $NetBSD: Interix.mk,v 1.54 2007/10/19 13:41:35 rillig Exp $ # # Variable definitions for the Interix operating system. @@ -79,7 +79,9 @@ USE_BULK_TIMESTAMPS?= no ### ECHO_N?= /bin/printf %s # does not support "echo -n" +IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake IMAKEOPTS+= -DBuildHtmlManPages=NO +PKGLOCALEDIR?= share PS?= /bin/ps SU?= /bin/su TYPE?= type # Shell builtin @@ -89,6 +91,7 @@ GROUPADD?= ${LOCALBASE}/sbin/groupadd _PKG_USER_HOME?= # empty by default _USER_DEPENDS= user>=20040426:../../sysutils/user_interix +CPP_PRECOMP_FLAGS?= # unset CONFIG_RPATH_OVERRIDE?= config.rpath */config.rpath */*/config.rpath DEF_UMASK?= 002 EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table @@ -102,6 +105,8 @@ ROOT_CMD?= ${SU} - "$$(id -un ${ROOT_USER})" -c ROOT_USER?= ${BINOWN} ROOT_GROUP?= 131616 # +Administrators or native language equivalent TOUCH_FLAGS?= +ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` +ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v` # imake installs manpages in weird places @@ -175,5 +180,3 @@ _OPSYS_MAX_CMDLEN_CMD= ${ECHO} 262144 #GAMEMODE= 2555 #GAMEDIRMODE= 0775 #.endif - -.include "${.PARSEDIR}/defaults.mk" -- cgit v1.2.3