head	1.15;
access;
symbols
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.14
	RELEASE_5_2_0:1.14
	RELEASE_4_9_0:1.14
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.14
	RELEASE_5_0_0:1.14
	RELEASE_4_7_0:1.14
	RELEASE_4_6_2:1.14
	RELEASE_4_6_1:1.14
	RELEASE_4_6_0:1.14
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.14
	RELEASE_4_4_0:1.14
	RELEASE_4_3_0:1.14
	RELEASE_4_2_0:1.14
	RELEASE_4_1_1:1.14
	RELEASE_4_1_0:1.14
	RELEASE_3_5_0:1.14
	RELEASE_4_0_0:1.13
	RELEASE_3_4_0:1.13
	RELEASE_3_3_0:1.12
	RELEASE_3_2_0:1.12
	RELEASE_3_1_0:1.8
	RELEASE_2_2_8:1.8
	RELEASE_3_0_0:1.8
	RELEASE_2_2_5:1.4
	RELEASE_2_2_2:1.4;
locks; strict;
comment	@# @;


1.15
date	2004.06.21.01.33.53;	author perky;	state dead;
branches;
next	1.14;

1.14
date	2000.04.17.07.38.02;	author tg;	state Exp;
branches;
next	1.13;

1.13
date	99.10.27.09.47.23;	author tg;	state Exp;
branches;
next	1.12;

1.12
date	99.05.10.16.11.45;	author vanilla;	state Exp;
branches;
next	1.11;

1.11
date	99.04.21.05.56.27;	author nectar;	state dead;
branches;
next	1.10;

1.10
date	99.02.22.22.53.01;	author nectar;	state Exp;
branches;
next	1.9;

1.9
date	99.02.16.13.59.42;	author thepish;	state dead;
branches;
next	1.8;

1.8
date	98.10.06.06.49.13;	author tg;	state Exp;
branches;
next	1.7;

1.7
date	98.01.19.08.39.59;	author tg;	state dead;
branches;
next	1.6;

1.6
date	98.01.07.08.32.54;	author tg;	state Exp;
branches;
next	1.5;

1.5
date	98.01.06.08.03.05;	author tg;	state dead;
branches;
next	1.4;

1.4
date	97.05.05.13.48.19;	author tg;	state Exp;
branches;
next	1.3;

1.3
date	97.05.05.12.30.24;	author tg;	state Exp;
branches;
next	1.2;

1.2
date	96.11.02.19.04.35;	author jkh;	state dead;
branches;
next	1.1;

1.1
date	95.11.25.18.07.59;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Remove deprecated ports: lang/python15 and lang/python20.
@
text
@--- configure.orig	Sat Apr 10 18:02:18 1999
+++ configure	Fri Sep 10 09:47:29 1999
@@@@ -2246,7 +2246,7 @@@@
 		fi ;;
 	Linux*) LDSHARED="gcc -shared";;
 	dgux*) LDSHARED="ld -G";;
-	FreeBSD*/3*) LDSHARED="gcc -shared";;
+	FreeBSD*/3*|FreeBSD*/4*|FreeBSD*/5*) LDSHARED='gcc -shared ${LDFLAGS}';;
 	FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
 	NetBSD*)
 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
@@@@ -2292,7 +2292,7 @@@@
 	AIX*)	LINKFORSHARED='-Wl,-bE:python.exp -lld';;
 	hp*|HP*)
 	    LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
-	FreeBSD/3*) LINKFORSHARED="-Xlinker -export-dynamic";;
+	FreeBSD/3*|FreeBSD/4*|FreeBSD*/5*) LINKFORSHARED="-Xlinker -export-dynamic";;
 	Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
 	# -u libsys_s pulls in all symbols in libsys
 	next/2*|next/3*) LINKFORSHARED="-u libsys_s";;
@


1.14
log
@Fix building modules on -current.

Submitted by:	Maxim Sobolev <sobomax@@altavista.net>
@
text
@@


1.13
log
@Link against libxpg4.
Submitted by:	foxfair

Promote LDFLAGS in the installed setup.
@
text
@d8 1
a8 1
+	FreeBSD*/3*|FreeBSD*/4*) LDSHARED='gcc -shared ${LDFLAGS}';;
d17 1
a17 1
+	FreeBSD/3*|FreeBSD/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
@


1.12
log
@Add a patch for 4.0current.
@
text
@d1 2
a2 2
--- configure.orig	Mon May 10 23:49:46 1999
+++ configure	Mon May 10 23:50:31 1999
d8 1
a8 1
+	FreeBSD*/3*|FreeBSD*/4*) LDSHARED="gcc -shared";;
@


1.11
log
@* Update python 1.5.1 -> 1.5.2
* Remove python-beta
@
text
@d1 20
a20 20
*** Python/importdl.c.orig	Tue Sep 29 12:17:52 1998
--- Python/importdl.c	Tue Sep 29 12:18:40 1998
***************
*** 211,217 ****
  extern char *Py_GetProgramName();
  
  #ifndef FUNCNAME_PATTERN
! #if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__BORLANDC__)
  #define FUNCNAME_PATTERN "_init%.200s"
  #else
  #define FUNCNAME_PATTERN "init%.200s"
--- 211,217 ----
  extern char *Py_GetProgramName();
  
  #ifndef FUNCNAME_PATTERN
! #if defined(__hp9000s300) || defined(__NetBSD__) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(__OpenBSD__) || defined(__BORLANDC__)
  #define FUNCNAME_PATTERN "_init%.200s"
  #else
  #define FUNCNAME_PATTERN "init%.200s"

@


1.10
log
@Moving patch-ac to patch-ab, because patch-ab is where the
real history can be found.  I wasn't able to commit it
properly earlier due to a bogon in the repository.
@
text
@@


1.9
log
@upgrade to 1.5.2b1 (fixes build problem along the way)
@
text
@@


1.8
log
@Support dynamic loading of modules in an ELF world.

Submitted by:	Vladimir Kushnir <kushn@@mail.kar.net>
@
text
@@


1.7
log
@Remove patch-ab to follow latest changes in libc_r.
@
text
@d1 20
a20 11
--- Python/thread_pthread.h.orig	Tue Jun  3 00:25:45 1997
+++ Python/thread_pthread.h	Tue Jan  6 19:20:08 1998
@@@@ -66,7 +66,7 @@@@
 #    define PY_PTHREAD_D7
 #  endif
 
-#elif defined(__DGUX)
+#elif defined(__DGUX) || defined(__FreeBSD__)
 #  define PY_PTHREAD_D6
 
 #else /* Default case */
@


1.6
log
@Make python work with threads again. Looks like our libc_r implements
an older draft of the pthread standard.
@
text
@@


1.5
log
@Upgrade to 1.5.
@
text
@d1 5
a5 5
--- Python/importdl.c.orig	Fri Oct 25 16:43:24 1996
+++ Python/importdl.c	Mon May  5 15:43:38 1997
@@@@ -76,7 +76,7 @@@@
 #define LONG_EXT "module.sl"
 #endif 
d7 3
a9 4
-#if defined(__NetBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__)
 #define DYNAMIC_LINK
 #define USE_SHLIB
d11 1
a11 9
@@@@ -150,7 +150,7 @@@@
 #ifdef USE_SHLIB
 #include <sys/types.h>
 #include <sys/stat.h>
-#if defined(__NetBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__)
 #include <nlist.h>
 #include <link.h>
 #else
@


1.4
log
@Simplify patch.
@
text
@@


1.3
log
@Clean up some left-over from FreeBSD-2.0 days.
@
text
@d2 2
a3 2
+++ Python/importdl.c	Sat May  3 11:55:20 1997
@@@@ -76,13 +76,18 @@@@
d12 1
a12 12
 #define dlerror() "error in dynamic linking"
 #endif
 
+#if defined(__FreeBSD__)
+#define DYNAMIC_LINK
+#define USE_SHLIB
+#endif
+
 #ifdef MS_WINDOWS /* i.e. MS_WIN32 or MS_WIN16 */
 #define DYNAMIC_LINK
 #include <windows.h>
@@@@ -150,7 +155,7 @@@@
@


1.2
log
@Update to version 1.4
Submitted-By: Thomas Gellekum <thomas@@ghpc8.ihf.rwth-aachen.de>
@
text
@d1 31
a31 26
*** Modules/nismodule.c~	Sat Nov 25 09:31:38 1995
--- Modules/nismodule.c	Sat Nov 25 09:31:51 1995
***************
*** 14,24 ****
  #include "modsupport.h"
  #include "ceval.h"
  
- #include <rpcsvc/ypclnt.h>
  #include <sys/time.h>
  #include <sys/types.h>
  #include <rpc/rpc.h>
  #include <rpcsvc/yp_prot.h>
  
  static object *NisError;
  
--- 14,24 ----
  #include "modsupport.h"
  #include "ceval.h"
  
  #include <sys/time.h>
  #include <sys/types.h>
  #include <rpc/rpc.h>
  #include <rpcsvc/yp_prot.h>
+ #include <rpcsvc/ypclnt.h>
  
  static object *NisError;
@


1.1
log
@Remove unnecessary include of <rpcsvc/ypclnt.h>
Submitted by:	Faried Nawaz <fn@@pain.csrv.uidaho.edu>
@
text
@@
