Initial elm port pretty heavilly modified with a whole new configure script and much more.

This commit is contained in:
gene 1997-11-18 04:09:46 +00:00
parent a3a16ecec1
commit 956ba2840a
10 changed files with 949 additions and 0 deletions

39
mail/elm/Makefile Normal file
View File

@ -0,0 +1,39 @@
# New ports collection makefile for: elm
# See also: http://www.ozone.fmi.fi/KEH/
# Version required: 2.4.25.ME+32
# Date created: 17 November 1997
# Whom: gene
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/18 04:09:46 gene Exp $
# Id: Makefile,v 1.41 1997/06/22 07:28:49 ache Exp $
#
DISTNAME= elm-2.4ME+32
CATEGORIES= mail
MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/ \
ftp://ftp.funet.fi/pub/unix/mail/elm/elm-2.4ME+/ \
ftp://ftp.ibp.fr/pub/unix/mail/elm-me/
MAINTAINER= gene@OpenBSD.ORG
WRKSRC= ${WRKDIR}/elm2.4.ME+.32
MAN1= answer.1 checkalias.1 elm.1 elmalias.1 fastmail.1 \
listalias.1 messages.1 newalias.1 printmail.1 readmsg.1
HAS_CONFIGURE= Yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ENV+= PREFIX="${PREFIX}"
CONFIGURE_ARGS+= -S
SCRIPTS_ENV= OPSYS=${OPSYS}
post-install:
cd ${WRKSRC}/nls; ${MAKE} install
if [ -f ${PREFIX}/lib/elm.mimetypes ] ; then \
${INSTALL_DATA} \
${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \
else \
${INSTALL_DATA} \
${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \
fi
.include <bsd.port.mk>

View File

@ -0,0 +1,308 @@
#!/bin/sh -
#
# FreeBSD pre-configure sub-script for Elm port
# $Id: config.sh.FreeBSD,v 1.1.1.1 1997/11/18 04:09:47 gene Exp $
cat > ${WRKSRC}/config.sh << 'EOF'
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
Log='$Log'
Header='$Header'
bin="${PREFIX}/bin"
contains='grep'
cppstdin='/usr/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_mkdir='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
d_poll='undef'
d_inttypes='undef'
d_nointtypes='undef'
n='-n'
c=''
orderlib='false'
ranlib='/usr/bin/ranlib'
package='elm2'
pager='builtin++'
startsh='#!/bin/sh'
define='define'
loclist='
cat
chgrp
chmod
cp
echo
expr
grep
ln
ls
make
mv
rm
sed
sleep
touch
tr
'
expr='/bin/expr'
sed='/usr/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/bin/tr'
mkdir=''
sort=''
uniq=''
grep='/usr/bin/grep'
trylist='
Mcc
compress
cpp
date
emacs
execmail
finger
ispell
line
lint
lp
lpr
mailx
metamail
mips
more
nroff
pack
pg
pgp
pmake
pr
rmail
sendmail
shar
smail
submit
tar
tbl
test
troff
uname
uuname
vi
'
test='/bin/test'
inews=''
ispell="${PREFIX}/bin/ispell"
egrep=''
more='/usr/bin/more'
pg='pg'
Mcc='Mcc'
vi='/usr/bin/vi'
mailx='mailx'
mail=''
cpp='/usr/bin/cpp'
perl=''
emacs='emacs'
ls='/bin/ls'
rmail='/bin/rmail'
sendmail='/usr/sbin/sendmail'
shar='/usr/bin/shar'
smail='smail'
submit=''
tbl='/usr/bin/tbl'
troff='/usr/bin/troff'
nroff='/usr/bin/nroff'
uname='/usr/bin/uname'
uuname='/usr/bin/uuname'
line='line'
chgrp='/usr/bin/chgrp'
chmod='/bin/chmod'
lint='/usr/bin/lint'
sleep='/bin/sleep'
pr='/usr/bin/pr'
tar='/usr/bin/tar'
ln='/bin/ln'
lpr='/usr/bin/lpr'
lp='/usr/bin/lp'
touch='/usr/bin/touch'
make='/usr/bin/make'
date='/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='pack'
compress='/usr/bin/compress'
execmail=''
libswanted='intl nls'
noaddlib='yes'
c_date='Mon Dec 23 07:44:59 MSK 1996'
d_ascii='undef'
d_broke_ctype='undef'
d_calendar='define'
calendar='calendar'
d_chown_neg1='define'
d_content='undef'
d_crypt='define'
cryptlib='-lcrypt'
d_cuserid='undef'
d_disphost='undef'
d_domname='define'
d_usegetdom='undef'
d_errlst='define'
d_flock='define'
d_dotlock='undef'
d_fcntlock='undef'
has_flock='define'
has_fcntl='define'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermlib'
d_index='undef'
d_internet='define'
d_ispell='define'
ispell_path="${PREFIX}/bin/ispell"
ispell_options=''
d_locale='define'
d_nl_types='define'
d_msgcat='define'
d_usenls='undef'
d_mallocvoid='define'
d_mboxedit='define'
d_mime='define'
metamail_path='none'
defencoding=''
d_8bitmime='define'
d_binarymime='undef'
d_dsn='define'
defcharset='ISO-8859-1'
defdispcharset='ISO-8859-1'
d_mmdf='undef'
d_newauto='define'
d_noaddfrom='define'
d_usedomain='undef'
d_noxheader='undef'
d_pidcheck='define'
d_ptem='undef'
d_putenv='define'
d_remlock='undef'
maxattempts='6'
d_setgid='undef'
d_savegrpmboxid='undef'
mailermode='755'
d_sigvec='undef'
d_sigvectr='undef'
d_sigset='undef'
d_sighold='undef'
d_sigprocmask='define'
d_sigblock='undef'
d_waitpid='define'
d_sigaction='define'
d_strcspn='define'
d_strspn='define'
d_strpbrk='define'
d_strerror='define'
d_strftime='define'
d_strings='undef'
d_pwdinsys='undef'
strings='/usr/include/string.h'
includepath=''
d_strstr='define'
d_strtok='define'
d_subshell='define'
d_tempnam='define'
tempnamo=''
tempnamc=''
d_termio='undef'
d_termios='define'
d_useembed='define'
d_utimbuf='define'
d_vfork='define'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname="${Hostname}"
phostname='hostname'
mydomain="${Domain}"
autohostname='define'
i_memory='define'
i_stdarg='define'
i_stdlib='define'
i_time='define'
i_systime='define'
d_systimekernel='undef'
i_unistd='define'
i_utime='define'
i_sysutime='undef'
lib="${PREFIX}/lib"
libc='/usr/lib/libc.so.3.0'
linepr='/usr/bin/lp'
maildir='/var/mail'
mailer='/usr/sbin/sendmail'
mailgrp='bin'
mansrc="${PREFIX}/man/man1"
catmansrc="${PREFIX}/man/cat1"
manext='.1'
manext_choice='.1'
catmanext='.1'
catmanext_choice='.1'
packed='n'
manroff='/usr/bin/nroff'
manroffopts=''
suffix=''
packer=''
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize="$CFLAGS"
ccflags=''
cppflags=''
ldflags='-s'
cc='cc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
passcat='cat /etc/passwd'
rmttape='unknown-remote-tape-unit'
roff='/usr/bin/troff'
roffopts=''
sigtype='void'
spitshell='cat'
shsharp='true'
sharpbang='#!'
tmpdir='/tmp'
tzname_handling='TM_ZONE'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='define'
d_pgp='define'
pgp="${PREFIX}/bin/pgp"
pgp_path="${PREFIX}/bin/pgp"
d_remailer='define'
finger='/usr/bin/finger'
finger_path='/usr/bin/finger'
CONFIG=true
EOF
exit 0
# END

View File

@ -0,0 +1,307 @@
#!/bin/sh -
#
# OpenBSD pre-configure sub-script for Elm port
# $Id: config.sh.OpenBSD,v 1.1.1.1 1997/11/18 04:09:47 gene Exp $
cat > ${WRKSRC}/config.sh << 'EOF'
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
Log='$Log'
Header='$Header'
bin="${PREFIX}/bin"
contains='grep'
cppstdin='/usr/bin/cpp'
cppminus=''
d_getopt='define'
d_memcpy='define'
d_mkdir='define'
d_rename='define'
d_symlink='define'
d_whoami='undef'
d_poll='define'
d_inttypes='define'
d_nointtypes='undef'
n='-n'
c=''
orderlib='false'
ranlib='/usr/bin/ranlib'
package='elm2'
pager='builtin++'
startsh='#!/bin/sh'
define='define'
loclist='
cat
chgrp
chmod
cp
echo
expr
grep
ln
ls
make
mv
rm
sed
sleep
touch
tr
'
expr='/bin/expr'
sed='/usr/bin/sed'
echo='/bin/echo'
cat='/bin/cat'
rm='/bin/rm'
mv='/bin/mv'
cp='/bin/cp'
tail=''
tr='/usr/bin/tr'
mkdir=''
sort=''
uniq=''
grep='/usr/bin/grep'
trylist='
Mcc
compress
cpp
date
emacs
execmail
finger
ispell
line
lint
lp
lpr
mailx
metamail
mips
more
nroff
pack
pg
pgp
pmake
pr
rmail
sendmail
shar
smail
submit
tar
tbl
test
troff
uname
uuname
vi
'
test='/bin/test'
inews=''
ispell="${PREFIX}/bin/ispell"
egrep=''
more='/usr/bin/more'
pg='pg'
Mcc='Mcc'
vi='/usr/bin/vi'
mailx='/usr/bin/mailx'
mail=''
cpp='/usr/bin/cpp'
perl=''
emacs='emacs'
ls='/bin/ls'
rmail='/bin/rmail'
sendmail='/usr/sbin/sendmail'
shar='/usr/bin/shar'
smail='smail'
submit=''
tbl='/usr/bin/tbl'
troff='/usr/bin/troff'
nroff='/usr/bin/nroff'
uname='/usr/bin/uname'
uuname='/usr/bin/uuname'
line='line'
chgrp='/usr/sbin/chgrp'
chmod='/bin/chmod'
lint='/usr/bin/lint'
sleep='/bin/sleep'
pr='/usr/bin/pr'
tar='/bin/tar'
ln='/bin/ln'
lpr='/usr/bin/lpr'
lp='lp'
touch='/usr/bin/touch'
make='/usr/bin/make'
date='/bin/date'
csh=''
pmake='pmake'
mips='false'
col=''
pack='pack'
compress='/usr/bin/compress'
execmail=''
libswanted='intl nls'
noaddlib='yes'
c_date='Wed Oct 15 14:44:16 CDT 1997'
d_ascii='undef'
d_broke_ctype='undef'
d_calendar='define'
calendar='calendar'
d_chown_neg1='define'
d_content='undef'
d_crypt='define'
cryptlib=''
d_cuserid='undef'
d_disphost='undef'
d_domname='define'
d_usegetdom='undef'
d_errlst='define'
d_flock='define'
d_dotlock='undef'
d_fcntlock='undef'
has_flock='define'
has_fcntl='define'
d_ftruncate='define'
d_gethname='define'
d_douname='undef'
d_host_comp='undef'
ign_hname='n'
d_havetlib='define'
termlib='-ltermlib'
d_index='define'
d_internet='define'
d_ispell='define'
ispell_path="${PREFIX}/bin/ispell"
ispell_options=''
d_locale='define'
d_nl_types='define'
d_msgcat='define'
d_usenls='undef'
d_mallocvoid='define'
d_mboxedit='define'
d_mime='define'
metamail_path='none'
defencoding=''
d_8bitmime='define'
d_binarymime='undef'
d_dsn='define'
defcharset='ISO-8859-1'
defdispcharset='ISO-8859-1'
d_mmdf='undef'
d_newauto='define'
d_noaddfrom='define'
d_usedomain='undef'
d_noxheader='undef'
d_pidcheck='define'
d_ptem='undef'
d_putenv='define'
d_remlock='undef'
maxattempts='6'
d_setgid='undef'
d_savegrpmboxid='undef'
mailermode='755'
d_sigvec='undef'
d_sigvectr='undef'
d_sigset='undef'
d_sighold='undef'
d_sigprocmask='define'
d_sigblock='undef'
d_waitpid='define'
d_sigaction='define'
d_strcspn='define'
d_strspn='define'
d_strpbrk='define'
d_strerror='define'
d_strftime='define'
d_strings='undef'
d_pwdinsys='undef'
strings='/usr/include/string.h'
includepath=''
d_strstr='define'
d_strtok='define'
d_subshell='define'
d_tempnam='define'
tempnamo=''
tempnamc=''
d_termio='undef'
d_termios='define'
d_useembed='define'
d_utimbuf='define'
d_vfork='define'
defbatsub='no subject (file transmission)'
defeditor='/usr/bin/vi'
editoropts=''
hostname="${Hostname}"
phostname='hostname'
mydomain="${Domain}"
autohostname='define'
i_memory='define'
i_stdarg=''
i_stdlib='define'
i_time='define'
i_systime='define'
d_systimekernel='undef'
i_unistd='define'
i_utime='define'
i_sysutime='undef'
lib="${PREFIX}/lib"
libc='/usr/lib/libc.so.17.1'
linepr='/usr/bin/lpr'
maildir='/var/mail'
mailer='/usr/sbin/sendmail'
mailgrp='wheel'
mansrc="${PREFIX}/man/man1"
catmansrc="${PREFIX}/man/cat1"
manext='.1'
manext_choice='.1'
catmanext='.0'
catmanext_choice='.0'
packed='n'
manroff='/usr/bin/nroff'
manroffopts=''
suffix=''
packer=''
models='none'
split=''
small=''
medium=''
large=''
huge=''
optimize="$CFLAGS"
ccflags=''
cppflags=''
ldflags='-s'
cc='cc'
libs=''
nametype='bsd'
d_passnames='define'
d_berknames='define'
d_usgnames='undef'
passcat='cat /etc/passwd'
rmttape='unknown-remote-tape-unit'
roff='/usr/bin/troff'
roffopts=''
sigtype='void'
spitshell='cat'
shsharp='true'
sharpbang='#!'
tmpdir='/tmp'
tzname_handling='TM_ZONE'
use_pmake='n'
xencf=''
xenlf=''
d_xenix='undef'
d_bsd='define'
d_pgp='define'
pgp="${PREFIX}/bin/pgp"
pgp_path="${PREFIX}/bin/pgp"
d_remailer='define'
finger='/usr/bin/finger'
finger_path='/usr/bin/finger'
CONFIG=true
EOF
exit 0
# END

View File

@ -0,0 +1,98 @@
# application/activemessage
# application/andrew-inset
# application/applefile
# application/atomicmail
# application/dca-rft
# application/dec-dx
# application/mac-binhex40
# application/macwriteii
doc application/msword
# application/news-message-id
# application/news-transmission
bin application/octet-stream
exe application/octet-stream
oda application/oda
pdf application/pdf
ai application/postscript
eps application/postscript
ps application/postscript
# application/remote-printing
rtf application/rtf
# application/slate
mif application/x-mif
# application/wita
# application/wordperfect5.1
csh application/x-csh
dvi application/x-dvi
gz application/x-gzip
hdf application/x-hdf
latex application/x-latex
nc application/x-netcdf
cdf application/x-netcdf
sh application/x-sh
tcl application/x-tcl
tex application/x-tex
texi application/x-texinfo
texinfo application/x-texinfo
t application/x-troff
tr application/x-troff
roff application/x-troff
man application/x-troff-man
me application/x-troff-me
ms application/x-troff-ms
src application/x-wais-source
zip application/zip
bcpio application/x-bcpio
cpio application/x-cpio
tgz application/x-gtar
shar application/x-shar
# application/x-sv4cpio
# application/x-sv4crc
tar application/x-tar
ustar application/x-ustar
au audio/basic
snd audio/basic
aif audio/x-aiff
aiff audio/x-aiff
aifc audio/x-aiff
wav audio/x-wav
gif image/gif
ief image/ief
jpeg image/jpeg
jpg image/jpeg
jpe image/jpeg
tiff image/tiff
tif image/tiff
ras image/x-cmu-raster
pnm image/x-portable-anymap
pbm image/x-portable-bitmap
pgm image/x-portable-graymap
ppm image/x-portable-pixmap
rgb image/x-rgb
xbm image/x-xbitmap
xpm image/x-xpixmap
xwd image/x-xwindowdump
# message/external-body
# message/news
# message/partial
# message/rfc822
# multipart/alternative
# multipart/appledouble
# multipart/digest
# multipart/mixed
# multipart/parallel
html text/html
htm text/html
txt text/plain
rtx text/richtext
tsv text/tab-separated-values
etx text/x-setext
mpeg video/mpeg
mpg video/mpeg
mpe video/mpeg
qt video/quicktime
mov video/quicktime
avi video/x-msvideo
movie video/x-sgi-movie
dl video/x-dl
fli video/x-fli

1
mail/elm/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (elm-2.4ME+32.tar.gz) = 7db4b64a0db169dee2b96a3a031aef88

49
mail/elm/patches/patch-aa Normal file
View File

@ -0,0 +1,49 @@
*** nls/Makefile.old Thu Mar 10 20:21:47 1994
--- nls/Makefile Fri Jul 28 06:55:04 1995
***************
*** 1,6 ****
LANGFILE=LANGS
CATNAME=elm2.4.cat
! GENCAT= nls/gencat
HDIR= ../hdrs
SDIR= C/C/C
--- 1,6 ----
LANGFILE=LANGS
CATNAME=elm2.4.cat
! GENCAT= gencat
HDIR= ../hdrs
SDIR= C/C/C
***************
*** 39,45 ****
./Install $(LANGFILE) $(GENCAT) $(CATNAME)
$(HFILES): $(MFILES)
! gencat/gencat $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
clean: FRC
/bin/rm -f $(MSGCAT)
--- 39,45 ----
./Install $(LANGFILE) $(GENCAT) $(CATNAME)
$(HFILES): $(MFILES)
! $(GENCAT) $(MSGCAT) "$(SDIR)/`basename $@ .h`".m -h $@
clean: FRC
/bin/rm -f $(MSGCAT)
*** nls/LANGS.old Sun Jun 28 04:32:25 1992
--- nls/LANGS Fri Jul 28 06:48:31 1995
***************
*** 1,5 ****
# LANGS file
! C/C/C /usr/local/nls/msg/C
! english/us/ascii /usr/local/nls/msg/english
! french/canada/8859 /usr/local/nls/msg/french
--- 1,5 ----
# LANGS file
! C/C/C /usr/local/share/nls/C
! english/us/ascii /usr/local/share/nls/en_US.ISO_8859-1
! french/canada/8859 /usr/local/share/nls/fr_FR.ISO_8859-1

36
mail/elm/patches/patch-ab Normal file
View File

@ -0,0 +1,36 @@
*** Configure.bak Mon Mar 11 18:47:43 1996
--- Configure Tue Mar 12 14:52:18 1996
***************
*** 18,28 ****
PATH=".:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:$PATH"
export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$)
- if test ! -t 0; then
- echo "Say 'sh Configure', not 'sh <Configure'"
- exit 1
- fi
-
(alias) >/dev/null 2>&1 && \
echo "(I see you are using the Korn shell. Some ksh's blow up on Configure," && \
echo "especially on exotic machines. If yours does, try the Bourne shell instead.)"
--- 18,23 ----
***************
*** 2278,2284 ****
: see if crypt exists
echo " "
! if $contains '^crypt$' libc.list >/dev/null 2>&1; then
echo 'crypt() found.'
d_crypt="$define"
cryptlib=''
--- 2273,2282 ----
: see if crypt exists
echo " "
! if $test "$cryptlib" = -lcrypt; then
! echo 'crypt() found.'
! d_crypt="$define"
! elif $contains '^crypt$' libc.list >/dev/null 2>&1; then
echo 'crypt() found.'
d_crypt="$define"
cryptlib=''

44
mail/elm/patches/patch-ac Normal file
View File

@ -0,0 +1,44 @@
*** src/fileio.c.orig Sat May 17 13:30:00 1997
--- src/fileio.c Wed Oct 15 13:42:24 1997
***************
*** 108,113 ****
--- 108,116 ----
#ifdef BSD
# include <sys/wait.h>
#endif
+ #if defined(__OpenBSD__)
+ # include <time.h>
+ #endif
#include "me.h"
extern int errno;
***************
*** 537,543 ****
--- 540,550 ----
dprint(5,(debugfile,
"copy_message: No 'From ' line seen...\n"));
if (!remove_header && !remove_envelope) {
+ #if defined(__OpenBSD__)
+ time_t thetime = time((time_t *) 0);
+ #else
long thetime = time((long *) 0);
+ #endif
dprint(5,(debugfile,
"copy_message: Create it!\n"));
if (fprintf(dest_file,
*** src/mailmsg2.c.orig Sat May 17 13:30:00 1997
--- src/mailmsg2.c Wed Oct 15 10:12:23 1997
***************
*** 1607,1613 ****
--- 1607,1617 ----
#ifdef MMDF
fprintf(filedesc, MSG_SEPARATOR);
#endif /* MMDF */
+ #if defined(__OpenBSD__)
+ thetime = time((time_t *) 0);
+ #else
thetime = time((long *) 0);
+ #endif
fprintf(filedesc,"From %s %s", username, ctime(&thetime));
#ifdef MMDF
} else if (strcmp(submitmail,mailer) == 0) {

53
mail/elm/patches/patch-ad Normal file
View File

@ -0,0 +1,53 @@
*** utils/newmail.c.orig Sat May 17 13:30:00 1997
--- utils/newmail.c Wed Oct 15 14:19:28 1997
***************
*** 242,248 ****
extern int errno;
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
time_t utime_buffer[2]; /* utime command */
#else
struct utimbuf utime_buffer; /* utime command */
--- 242,248 ----
extern int errno;
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
time_t utime_buffer[2]; /* utime command */
#else
struct utimbuf utime_buffer; /* utime command */
***************
*** 470,476 ****
/* try to set the file access times back, ignore
failures */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
utime(cur_folder->foldername, utime_buffer);
#else
utime(cur_folder->foldername, &utime_buffer);
--- 470,476 ----
/* try to set the file access times back, ignore
failures */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime(cur_folder->foldername, utime_buffer);
#else
utime(cur_folder->foldername, &utime_buffer);
***************
*** 863,869 ****
/* retain the access times for later use */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
utime_buffer[0] = buffer.st_atime;
utime_buffer[1] = buffer.st_mtime;
#else
--- 863,869 ----
/* retain the access times for later use */
! #if defined(BSD) && !defined(__convex__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
utime_buffer[0] = buffer.st_atime;
utime_buffer[1] = buffer.st_mtime;
#else

View File

@ -0,0 +1,14 @@
#!/bin/sh -
#
# pre-configure script for Elm port to FreeBSD 2.0
# $Id: pre-configure,v 1.1.1.1 1997/11/18 04:09:48 gene Exp $
PortsDir=$PORTSDIR
CurDir=$CURDIR
WrkSrc=$WRKSRC
if [ ${OPSYS} == "OpenBSD" ]; then
/bin/sh ${FILESDIR}/config.sh.OpenBSD
else
/bin/sh ${FILESDIR}/config.sh.FreeBSD
fi