Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 1998 17:18:52 -0700 (PDT)
From:      Satoshi Asami <asami@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/share/mk bsd.port.mk
Message-ID:  <199808270018.RAA11505@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
asami       1998/08/26 17:18:52 PDT

  Modified files:
    share/mk             bsd.port.mk 
  Log:
  Hope I haven't missed anything or forgotten to credit anybody.  (By
  the way, most of the things below are "Reviewed by: hoek" as well.)
  
  The changes are (roughly in order of appearance):
  
  (1) Revamp comments at beginning of file.  Major rewrites.  Reorder
      them into more relevant sections.  Make clear which ones are user
      variables and not to be set in ports' Makefiles.
  Reviewed by:	hoek (well, he's the only one who sent any comments)
  
  (2) Include ${.CURDIR}/Makefile.local if it exists.  This is a local
      configuration file (ala rc.conf.local and make.conf.local) so
      please do not commit a file with this name to the repository.
  Suggested by:	dillon
  
  (3) MANCOMPRESSED now takes three possible values: "yes", "no" and
      "maybe".  (It used to be a binary variable -- the old behavior is
      now accomplished by "MANCOMPRESSED=yes".  Ports that defined this
      variable to other values have been corrected.)
  
      "yes" means the manpages are installed compressed, "no" means they
      are not, and "maybe" means the port already respects the value of
      NOMANCOMPRESS.  The default is "yes" for USE_IMAKE ports without
      NO_INSTALL_MANPAGES, and "no" otherwise.
  
      Add "compress-man" target and move manpage {,de}compression there.
  
  Reviewed by:	hoek etc. and a full build of the ports tree
  
  (4) Add LIBDIR="${LIBDIR}" to MAKE_ENV.  Makes easier to "fix" ports
      for /usr/lib/aout mess.
  Submitted by:	ohashi@mickey.ai.kyutech.ac.jp (Takeshi Ohashi)
  
  (5) Change ${TMPPLIST} from ${WRKDIR}/PLIST.mktmp to
      ${WRKDIR}/.PLIST.mktmp.
  Suggested by:		hoek
  Strongly seconded by:	steve
  
  (6) Change a couple more relative pathnames to absolute ones.
  Submitted by:	hoek
  
  (7) Move checksum into real-extract.
  
  (8) Change way rules are chained.  Instead of:
  
  build: configure ${BUILD_COOKIE}
  ${BUILD_COOKIE}:
  	@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-build
  
      we now have
  
  build: ${BUILD_COOKIE}
  ${BUILD_COOKIE}:
  	@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} configure
  	@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} real-build
  
      Other than being more PC (pmake clean), this really speeds up
      skipping ports already built.  For instance, "make package" on a
      fully packaged games subtree used to take 269 seconds on average,
      now it's 45 seconds on average.
  
      The flip side of this is that it will create more processes when
      the targets actually chain, but when you're actually compiling
      things, your make is creating half a bazzilion processes anyway so
      I don't think it matters.
  
  (9) ${TMPPLIST} is now a real dependency.  Create "generate-plist"
      target to generate ${TMPPLIST}.  Make sure it's called when needed
      (usually between do-install and post-install), and that the
      required files exist.
  
  (10) Change some messages so we can tell where "make index" failed.
  
  (11) Check if LIB_DEPENDS really generated the required shared lib or
       not.
  Seconded by: "Brent J. Nordquist" <bjn@visi.com>
  
  Revision  Changes    Path
  1.285     +351 -189  src/share/mk/bsd.port.mk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808270018.RAA11505>