head	1.4;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2;
locks; strict;
comment	@# @;


1.4
date	2007.12.20.15.18.53;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2005.07.19.17.46.19;	author arved;	state Exp;
branches;
next	1.2;

1.2
date	2001.10.02.03.10.37;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2001.09.22.20.13.15;	author lioux;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Fix build on FreeBSD 8.x

Submitted by:	Wesley Shields <wxs@@atarininja.org>
@
text
@--- Make.orig	2002-02-26 07:29:20.000000000 -0500
+++ Make	2007-12-19 21:18:32.000000000 -0500
@@@@ -18,7 +18,7 @@@@
 LD=ld                      # linker for shared objects
 COMPILEFLAG=""             # general compilation flags for cc
 LINKFLAG=""                # general linker flags *for cc*
-#STUFF="-DSTUFF_STACK"     # uncomment if you like queuing stack to keyboard
+STUFF="-DSTUFF_STACK"      # uncomment if you like queuing stack to keyboard
                            # (not guaranteed to work on all systems)
 SMALL=false                # true if you like small executables (not guaranteed
                            # and not for ELF executables either)
@@@@ -98,6 +98,9 @@@@
         SunOS:5.*)
             PREFIX="/opt/REXXimc"
             ;;
+	FreeBSD:*)
+	    PREFIX="${PREFIX}"
+	    ;;
         *|unknown)
             PREFIX="/usr/local"
             ;;
@@@@ -386,14 +389,14 @@@@
         esac
         egrep -q tm_gmtoff /usr/include/time.h && CCFLAG="$CCFLAG -DHAS_GMTOFF"
         ;;
-    FreeBSD:*)
+    FreeBSD:3.*)
         REXXLIB="librexx.so"
         RANLIB=ranlib
         MATH=rxmathfn.rxfn
         LIBRARIES=""
         SOFLAG="-Bshareable"
         DLLFLAG="-Bshareable"
-#       LREXX='$(LIBDIR)/$(SONAME)'
+        LREXX='$(LIBDIR)/$(SONAME)'
 #       Uncomment above line if you have problems with LD_LIBRARY_PATH
         case $CC in
             gcc)
@@@@ -407,6 +410,48 @@@@
                 ;;
         esac
         ;;
+    FreeBSD:4.*)
+        REXXLIB="librexx.so"
+	SOLINK="librexx.so"
+        RANLIB=ranlib
+        MATH=rxmathfn.rxfn
+        LIBRARIES=""
+        SOFLAG="-shared --export-dynamic"
+        : ${RUNLIBS='-L$(LIBDIR) -Wl,-rpath,$(PREFIX)/lib'}
+        DLLFLAG="-shared --export-dynamic"
+        case $CC in
+            gcc)
+                CCFLAG="${CFLAGS} -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF"
+                PIC="-fPIC"
+                ;;
+            *)  echo "Warning: I don't know the options for $CC"\
+                      "- trying the gcc ones" >&2
+                CCFLAG="${CFLAGS} -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF"
+                PIC="-fPIC"
+                ;;
+        esac
+        ;;
+    FreeBSD:5.*|FreeBSD:6.*|FreeBSD:7.*|FreeBSD:8.*)
+        REXXLIB="librexx.so"
+	SOLINK="librexx.so"
+        RANLIB=ranlib
+        MATH=rxmathfn.rxfn
+        LIBRARIES=""
+        SOFLAG="-shared --export-dynamic"
+        : ${RUNLIBS='-L$(LIBDIR) -Wl,-rpath,$(PREFIX)/lib'}
+        DLLFLAG="-shared --export-dynamic"
+        case $CC in
+            gcc)
+                CCFLAG="${CFLAGS} -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF"
+                PIC="-fPIC"
+                ;;
+            *)  echo "Warning: I don't know the options for $CC"\
+                      "- trying the gcc ones" >&2
+                CCFLAG="${CFLAGS} -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF"
+                PIC="-fPIC"
+                ;;
+        esac
+        ;;
     unknown:*|*:*)
         echo "I am not configured for this platform - guessing some options" >&2
         echo "(You will not be able to use shared libraries)" >&2
@


1.3
log
@Fix build on FreeBSD 7

Approved by:	maintainer
@
text
@d1 2
a2 2
--- Make	Wed Nov  1 10:04:27 2000
+++ Make.new	Tue Sep 25 09:15:11 2001
d22 1
a22 1
@@@@ -384,14 +387,14 @@@@
d39 4
a42 8
@@@@ -401,6 +404,48 @@@@
             *)  echo "Warning: I don't know the options for $CC"\
                       "- trying the gcc ones" >&2
                 CCFLAG="-DHAS_TTYCOM -D_REQUIRED -DRENAME_UNDELETE -DHAS_GMTOFF"
+                PIC="-fPIC"
+                ;;
+        esac
+        ;;
d64 1
a64 1
+    FreeBSD:5.*|FreeBSD:6.*|FreeBSD:7.*)
d81 7
a87 3
                 PIC="-fPIC"
                 ;;
         esac
@


1.2
log
@fix build on -CURRENT

PR:		30821
Submitted by:	MAINTAINER, bento
Reviewed by:	Sameh Ghane
@
text
@d68 1
a68 1
+    FreeBSD:5.*)
@


1.1
log
@o update to 1.75
o support NOPORTDOCS
o assign maintainership to submitter

PR:		30428
Submitted by:	John Merryweather Cooper <jmcoopr@@webmail.bmi.net>
@
text
@d2 1
a2 1
+++ Make.new	Fri Sep  7 16:39:54 2001
d79 1
a79 1
+                CCFLAG="${CFLAGS} -DHAS_TTYCOM -D_REQUIRED -DHAS_GMTOFF"
d84 1
a84 1
+                CCFLAG="${CFLAGS} -DHAS_TTYCOM -D_REQUIRED -DHAS_GMTOFF"
@

