mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
Fix build on FreeBSD 7
Approved by: maintainer
This commit is contained in:
parent
02756866ca
commit
ed4e617768
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139611
2 changed files with 1 additions and 31 deletions
|
@ -65,7 +65,7 @@
|
|||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+ FreeBSD:5.*)
|
||||
+ FreeBSD:5.*|FreeBSD:6.*|FreeBSD:7.*)
|
||||
+ REXXLIB="librexx.so"
|
||||
+ SOLINK="librexx.so"
|
||||
+ RANLIB=ranlib
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
--- work/rexx-imc-1.76/Make Tue Feb 22 01:35:58 2005
|
||||
+++ Make Tue Feb 22 01:27:08 2005
|
||||
@@ -452,6 +452,27 @@
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
+ FreeBSD:6.*)
|
||||
+ 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
|
Loading…
Add table
Reference in a new issue