diff options
author | demon <demon@FreeBSD.org> | 2001-11-01 23:07:24 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2001-11-01 23:07:24 +0000 |
commit | 299ecccc242b6cf309cfa54f7572ddba347b2490 (patch) | |
tree | 33f8f9fcc0680a3eac1268e48e8ec5ba431cadd9 /mail/elm+ME/scripts | |
parent | 3aa25f4dd675e80547747b3bfabc52d8834bb722 (diff) | |
download | FreeBSD-ports-299ecccc242b6cf309cfa54f7572ddba347b2490.zip FreeBSD-ports-299ecccc242b6cf309cfa54f7572ddba347b2490.tar.gz |
Update to 2.4.95a + numerious enhancments
PR: 31553
Submitted by: MAINTAINER
Diffstat (limited to 'mail/elm+ME/scripts')
-rw-r--r-- | mail/elm+ME/scripts/pre-configure | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/elm+ME/scripts/pre-configure b/mail/elm+ME/scripts/pre-configure index 4659273..01937f0 100644 --- a/mail/elm+ME/scripts/pre-configure +++ b/mail/elm+ME/scripts/pre-configure @@ -10,6 +10,11 @@ d_shared_rev=${SO_REV:-$(awk '/SHAREDTAG:/{print $2}' ${WRKSRC}/hdrs/patchlevel. [ -d ${WRKSRC}/shlib ] || mkdir ${WRKSRC}/shlib +case ${CFLAGS} in +*-g*) DEBUG="-DDEBUG" ;; +*) DEBUG= ;; +esac + cat > ${WRKSRC}/config.sh << EOF #!/bin/sh # config.sh @@ -22,6 +27,7 @@ bin='${PREFIX}/bin' contains='grep' cppstdin='/usr/bin/cpp' cppminus='' +diff='/usr/bin/diff' d_getopt='define' d_memcpy='define' d_symlink='define' @@ -64,8 +70,11 @@ mv rm sed sleep +sort +diff touch tr +uniq cut ' expr='/bin/expr' @@ -294,7 +303,7 @@ manroffopts='' suffix='' packer='' optimize='${CFLAGS}' -ccflags='-D_LIBICONV_VERSION=200' +ccflags='${DEBUG}' cppflags='' ldflags='-s' cc='cc' @@ -339,7 +348,7 @@ iconv_ok='define' iconv_dir='${LOCALBASE}' iconv_include_dir='${LOCALBASE}/include' iconv_lib_dir='${LOCALBASE}/lib' -iconv_link='iconv' +iconv_link='giconv' EOF mv ${WRKSRC}/shared_libs/tls/README.ME+ \ |