diff options
author | ache <ache@FreeBSD.org> | 2000-01-23 02:03:39 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-01-23 02:03:39 +0800 |
commit | fd4a664152100b7c0de155b12b8abfac003e9854 (patch) | |
tree | f752eb0c978580c91a312a18f25ae50820ee5db3 /mail/elm | |
parent | 8d5cb915815d41899d8dd86313719b15ac0e86c6 (diff) | |
download | freebsd-ports-gnome-fd4a664152100b7c0de155b12b8abfac003e9854.tar.gz freebsd-ports-gnome-fd4a664152100b7c0de155b12b8abfac003e9854.tar.zst freebsd-ports-gnome-fd4a664152100b7c0de155b12b8abfac003e9854.zip |
tweaks for FreeBSD 2.*
Diffstat (limited to 'mail/elm')
-rw-r--r-- | mail/elm/scripts/pre-configure | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/mail/elm/scripts/pre-configure b/mail/elm/scripts/pre-configure index 2ae7a156371f..19cfaa9ffdc1 100644 --- a/mail/elm/scripts/pre-configure +++ b/mail/elm/scripts/pre-configure @@ -1,19 +1,22 @@ #!/bin/sh - # -# pre-configure script for Elm port to FreeBSD 2.0 +# pre-configure script for Elm port to FreeBSD # $FreeBSD$ PortsDir=$PORTSDIR - CurDir=$CURDIR - WrkSrc=$WRKSRC +CurDir=$CURDIR +WrkSrc=$WRKSRC - cat > ${WrkSrc}/config.sh << 'EOF' +has_inttypes=undef +[ -r /usr/include/inttypes.h ] && has_inttypes=define + + cat > ${WrkSrc}/config.sh << EOF #!/bin/sh # config.sh # This file was produced by running the Configure script. -Log='$Log' -Header='$Header' +Log='\$Log' +Header='\$Header' bin="${PREFIX}/bin" contains='grep' cppstdin='/usr/bin/cpp' @@ -29,7 +32,7 @@ d_mmap='define' d_socket='define' d_netdb='define' d_netinet_in='define' -d_inttypes='define' +d_inttypes='$has_inttypes' d_nointtypes='undef' n='-n' c='' @@ -247,9 +250,9 @@ d_vfork='define' defbatsub='no subject (file transmission)' defeditor='/usr/bin/vi' editoropts='' -hostname="${Hostname}" +hostname='' phostname='hostname' -mydomain="${Domain}" +mydomain='' autohostname='define' i_memory='define' i_stdarg='define' |