Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 1996 01:08:39 -0700 (PDT)
From:      Satoshi Asami <asami>
To:        CVS-committers, cvs-all, cvs-share
Subject:   cvs commit:  src/share/mk bsd.port.mk
Message-ID:  <199604120808.BAA09422@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
asami       96/04/12 01:08:39

  Modified:    share/mk  bsd.port.mk
  Log:
  Add NO_CDROM, RESTRICTED, BROKEN and Motif support.
  
  (1) The new NO_CDROM Boolean variable means "don't put the distfile/
      package on the CDROM you're going to sell".  It will basically
      turn off everything if FOR_CDROM is set.
  
      Many of the NO_PACKAGE ports are actually "don't sell for profit"
      types, which we shouldn't have any problem distributing via ftp.
  
  (2) The new RESTRICTED Boolean variable means don't build this unless
      you know what you are doing.  It doesn't have any effect unless
      NO_RESTRICTED is also set.
  
  (3) BROKEN means this port is broken.  At least it will now show up in
      INDEX and README.html, and give people more incentive to fix (I
      hope).
  
      RESTRICTED and BROKEN are expected to replace the pseudo-targets
      in parent Makefiles.  (The RESTRICTED and BROKEN list didn't do
      anything before, they were solely for grepping purposes.)
  
  (4) The Motif support brings in four new variables: REQUIRES_MOTIF,
      which the porter sets for ports that require Motif to build;
      HAVE_MOTIF, which the user sets to indicate the system has Motif;
      MOTIF_STATIC, which the user sets to indicate that the static
      libXm, instead af the default dynamic library, is to be used; and
      MOTIFLIB, which is set to "${X11BASE}/lib/libXm.a" or
      "-L${X11BASE}/lib -lXm", depending on whether MOTIF_STATIC is set.
  
      The porter is expected to replace all occurrences of libXm in the
      {Im,M}akefiles with ${MOTIFLIB}, and this will allow both dynamic
      linkage (for users with Motif) and static linkage (for those who
      build packages to be used by those withot Motif, i.e., me ;)
      automatically.
  
  Original Motif support idea by:	graichen
  
  Revision  Changes    Path
  1.201     +50 -9     src/share/mk/bsd.port.mk



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