DragonFly BSD

CVS log for src/share/mk/Attic/bsd.port.mk

[BACK] Up to [DragonFly] / src / share / mk

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.37
Wed Jun 28 21:37:37 2006 UTC (7 years, 9 months ago) by swildner
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.36: +1 -1 lines
Remove ports and dfports specific include files.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:51:04 2005 UTC (8 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.35: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.35: +2 -2 lines
Catch up with Perl version.

Submitted-by: Andreas Hauser

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon May 16 09:20:56 2005 UTC (8 years, 11 months ago) by y0netan1
Branches: MAIN
Diff to: previous 1.34: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.34: +1 -1 lines
("" < 3.4) always evaluates to true, which unconditionally
undef'es USE_GCC.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon May 16 07:34:46 2005 UTC (8 years, 11 months ago) by y0netan1
Branches: MAIN
Diff to: previous 1.33: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.33: +6 -1 lines
Deal with "or later" notation of USE_GCC knob.
Inspired-by: FreeBSD ports/Mk/bsd.gcc.mk,1.1

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue May 3 14:16:04 2005 UTC (8 years, 11 months ago) by joerg
Branches: MAIN
Diff to: previous 1.32: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.32: +1 -1 lines
Refine USE_RC_SUBR / USE_RCORDER handling. The install-rc-script target
should not be defined for bsd.pre.port.mk, since some ports define the
variables after it.

Another-bug-from: Erik P. Skaalerud <erik@pentadon.com>

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Apr 20 21:58:13 2005 UTC (8 years, 11 months ago) by okumoto
Branches: MAIN
Diff to: previous 1.31: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.31: +0 -1 lines
Stop exporting OSVERSION variable to enviornment via .makeenv.
This quiets a the warning that OSVERSION is from the commandline
when ports calls make recursively.

OSVERSION is only used by the make infrastructure, so anything that
references that variable would get it from make's global scope, or
would get it from a recursively called make which would have put
it into the env since it is in MAKEFLAGS.

Variables set in the command line and MAKEFLAGS are readonly, those
variables are also exported into the enviornment of make.  Nothing
in the makefiles are able to modified thier values. (POSIX)

This is compatible with .makeenv (soon to be .EXPORT:)
     o if variable does not exist create it and
       export it to the enviornment, as empty string.
     o if variable exists, export it to the enviornment
       with its value.
     o if variable that is exported is set after being
       exported, export its new value.

     o if variable is from command line or MAKEFLAGS
       do net change is value, or modify the enviornment.
       Emit a warning.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Apr 19 17:17:03 2005 UTC (8 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_Stable
Diff to: previous 1.30: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.30: +1 -0 lines
Provide correct PLIST_SUB value for batch scripts.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 10 18:57:37 2005 UTC (9 years ago) by dillon
Branches: DragonFly_RELEASE_1_2
CVS tags: DragonFly_RELEASE_1_2_Slip
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.29: +42 -1 lines
MFC 1.30.  Fix issues with USE_RCORDER and USE_RC_SUBR which broke the
mysql41-server port (and probably others).

Submitted-by: Joerg Sonnenberger <joerg@britannica.bec.de>

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Apr 8 16:38:31 2005 UTC (9 years ago) by joerg
Branches: MAIN
Diff to: previous 1.29: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.29: +42 -1 lines
Don't just undefine USE_RC_SUBR, because it does define the list
of rc scripts if it is defined and not YES. We didn't undefine USE_RCORDER,
which pulled the rc_subr port in.

Fix this by:
(a) save the old value or USE_RCORDER and USE_RC_SUBR to _DF_*.
(b) include the install-rc-script target from ports/Mk/bsd.port.mk,
but use _DF_* for the variables in the actual code.
(c) add _DF_* to the SUB_FILES list and add RC_SUBR to SUB_LIST.
(d) undefine USE_RC_SUBR and USE_RCORDER afterwards.

Problem-reported-by: Erik P. Skaalerud <erik@pentadon.com>

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Mar 13 20:20:22 2005 UTC (9 years, 1 month ago) by joerg
Branches: MAIN
Branch point for: DragonFly_RELEASE_1_2
Diff to: previous 1.28: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.28: +4 -1 lines
Use libc's getopt_long, I've been building and using ports for a while with
this. Also move th USE_RC_SUBR check into the shared section, just in case
we forget this for an override port.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Feb 2 12:57:27 2005 UTC (9 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.27: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.27: +2 -2 lines
Change default perl version to 5.8.6

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Jan 27 02:38:31 2005 UTC (9 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.26: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.26: +5 -1 lines
Add a default for Perl 5.8.5 to override the default for
system perl.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jan 16 17:53:35 2005 UTC (9 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.25: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.25: +8 -1 lines
Support PORTDIRNAME and PKGORIGIN.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jan 16 17:14:16 2005 UTC (9 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.24: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.24: +10 -6 lines
Don't print the override warning for package-name.

Instead of trying to guess the PKGNAME, just ask the override port for it.
*Warning*: incorrectly written override ports (using bsd.port.mk) might
produce end-less loops.  The old behaviour didn't correctly handle
PORTSREVISION and PORTSEPOCH.  Also provide PKGFILE.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jan 8 11:58:46 2005 UTC (9 years, 3 months ago) by dillon
Branches: MAIN
Diff to: previous 1.23: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.23: +9 -3 lines
Do not specify the -B option when executing the sub-make.  In the BSD
make, -B is a compatibility option to execute shell commands one per line.
In GNU make (as of vers 3.80) -B is --always-make, which forces all targets
to be made regardless of whether they are out of date or not.

Since both GNU make and our make use MAKEFLAGS to pass build flags between
invocations, -B gets propogated down the chain into the gnu make and blows
everything to itsy bitsy little pieces.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Nov 28 22:29:19 2004 UTC (9 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.22: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.22: +20 -4 lines
Allow "make index" to actually by fixing lots of smaller glitches all over
the (dfports) tree.

- PORTSDIR must be kept for bsd.port.pre.mk, because it is used to include
  e.g. bsd.python.mk
- The DFPORTS_WARNING change didn't work as intended and neither did the
  old version. We want be quiet about redirections if we have any of the
  special targets to process (like describe), which does include the
  output of the cd command. We also want to define the .BEGIN rule only
  once. This is now protected by the better named _DFPORTS_REDIRECT
- Define another bunch of variables, normally provided by bsd.port.mk.
  This should fix the mysterious warnings encountered.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Nov 27 13:22:26 2004 UTC (9 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.21: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.21: +1 -1 lines
Fix a stupid fault in the last condition. The code should be skipped, if
the variable DFPORTS_WARNING is already defined, not the other way around.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Nov 26 14:06:57 2004 UTC (9 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.20: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.20: +3 -2 lines
Don't define the .BEGIN with the override message twice for modules
using bsd.port.pre.mk / bsd.port.post.mk.

Pointed-out-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Nov 16 20:09:26 2004 UTC (9 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.19: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.19: +9 -1 lines
Override USE_GCC=3.4, we want to use our system compiler in that case.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Nov 15 14:29:00 2004 UTC (9 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.18: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.18: +5 -1 lines
Add some more hacks for dfport handling, to allow make index to mostly
work.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Oct 24 22:40:41 2004 UTC (9 years, 5 months ago) by dillon
Branches: MAIN
Diff to: previous 1.17: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.17: +1 -0 lines
Add a default for X_WINDOW_SYSTEM in the dfports override case.

Reported-by: Adam K Kirchhoff <adamk@voicenet.com>

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Aug 14 13:49:41 2004 UTC (9 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004
Diff to: previous 1.16: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.16: +4 -0 lines
Add DFOSVERSION for ports to check for DragonFly and allow them to handle
it accordlingly.

Submitted-by: Oliver Eikemeier <eikemeier@fillmore-labs.com>

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Aug 10 10:58:37 2004 UTC (9 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.15: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.15: +1 -0 lines
Yet another hack for x11/xorg-clients.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jul 14 18:51:53 2004 UTC (9 years, 9 months ago) by hmp
Branches: MAIN
Diff to: previous 1.14: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.14: +6 -0 lines
Append necessary information to the package name for portupgrade(8) to
work with DF port overrides.

Submitted-by:   YONETANI Tomokazu <qhwt@les.ath.cx>

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 10 04:46:01 2004 UTC (9 years, 11 months ago) by cpressey
Branches: MAIN
CVS tags: DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.13: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.13: +2 -1 lines
Fix a bug in bsd.port.mk that was causing 'make clean' to fail in some
ports directories with mysterious symptoms like 'cd: can't cd to &&'.

The problem was that the text of the DragonFly port override warning
message was mistakenly being injected into the output of the
'*-depends-list' targets.  Although the message was being explicitly
filtered out if the target was 'all-depends-list', the targets
'build-depends-list' and 'run-depends-list', exercised indirectly by
'make clean', still allowed it to slip through.

Encountered-by: walt <wa1ter@myrealbox.com> and others
Detective-work-by: walt <wa1ter@myrealbox.com>
Patch-written-by: cpressey
Approved-by: dillon

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Mar 2 15:03:00 2004 UTC (10 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.12: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.12: +5 -0 lines
We have /etc/rc.subr, don't add the dependency

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Feb 24 13:05:14 2004 UTC (10 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -0 lines
DFports cleanup part(1)

This removes the redefinition of PORTSDIR to /usr/dfports. We use the normal
/usr/ports and have a second variable DFPORTSDIR for DragonFly override ports.

Also fix the warning about an undefined command when invocing make for an
overriden port without specifying a target.

Revision 1.11: download - view: text, markup, annotated - [selected for diffs]
Sun Feb 22 14:28:50 2004 UTC (10 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -0 lines
Certain port Makefiles expect variables like ARCH or HAVE_GNOME to be set
and use them in .if's. This adds a default value for those currently use
to fix parsing the main Makefile if bsd.port.pre.mk is used.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jan 25 19:09:39 2004 UTC (10 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.9: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.9: +2 -2 lines
Cleanup the fix for dependency handling. This explicitly checks wether
all-depends-list or package-depends-list is a target and drops the
warning message for DragonFly override ports.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 25 16:52:34 2004 UTC (10 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.8: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.8: +5 -2 lines
Don't use non-existing DragonFly override ports for ports using
bsd.port.pre.mk.
Don't print the DragonFly override warning while doing
"make package-depends-list", since that breaks the dependency
generation.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 21 19:40:57 2004 UTC (10 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.7: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.7: +2 -0 lines
Add a dummy dependency for each target make(1) is called with when
redirecting to dfports. Since make will bail out when a target is
not known by dfports, this is safe.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Nov 19 00:51:24 2003 UTC (10 years, 4 months ago) by dillon
Branches: MAIN
Diff to: previous 1.6: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.6: +12 -0 lines
Change the system name from 'FreeBSD' to 'DragonFly'.  We are now officially
DragonFly 1.0-CURRENT.  The change is fairly straight forward but involves
adding support for the 'DragonFly' OS type in various gnu contributed pieces
(typically configure based), as well as compiler and BFD support for building
GCC and friends (basically just copied the FreeBSD files for DragonFly).

Additionally, hack the ports makefiles with UNAME_xxx environment variables
so ports builds think its still a FreeBSD-4.8 system.  Otherwise most of the
ports will fail.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Oct 13 23:57:41 2003 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.5: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.5: +1 -0 lines
Make sure PORTSDIR is not in the environment when bootstrapping a
DragonFly port from a FreeBSD port.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Oct 12 01:43:59 2003 UTC (10 years, 6 months ago) by dillon
Branches: MAIN
Diff to: previous 1.4: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.4: +9 -9 lines
More hacks to support DragonFly port overrides.  Deal with ports which
use bsd.port.pre.mk and bsd.port.post.mk.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Sep 9 16:49:31 2003 UTC (10 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.3: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.3: +4 -4 lines
rename /usr/dports to /usr/dfports.  Includes some CVS surgery.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Sep 8 23:39:23 2003 UTC (10 years, 7 months ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.2: +49 -1 lines
Add bsd.dport.mk, which Makefile's in /usr/dports will use instead of
bsd.port.mk.  Modify bsd.port.mk to check for the existance of the same
port in /usr/dports and, if found, to cd into the dport and run the target
there.

NOTE: /usr/bin/relpath is required (see /usr/src/usr.bin/relpath).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:37:02 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.1: preferred, colored; selected 1.11: preferred, colored
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:53:21 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
Diff to: selected 1.11: preferred, colored
import from FreeBSD RELENG_4 1.303.2.2

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options