diff options
author | jlam <jlam@pkgsrc.org> | 2001-09-26 20:27:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-09-26 20:27:05 +0000 |
commit | ed5b274904261cc1dde0332b98d92822e623b20f (patch) | |
tree | 5c9e948b2dc908280b4025349d5995d03f7630cc /mail/elm-me | |
parent | 0982e5f197b0940e483a5e71872bbae4ca991015 (diff) | |
download | pkgsrc-ed5b274904261cc1dde0332b98d92822e623b20f.tar.gz |
Add our LDFLAGS to the link command so that -lintl can be resolved to the
correct library at link-time and at run-time. Also, mark this package as
USE_BUILDLINK_ONLY. This fixes the problem noted in pkg/13901 by Tim
Preston <tim@flibble.org>.
Diffstat (limited to 'mail/elm-me')
-rw-r--r-- | mail/elm-me/Makefile | 5 | ||||
-rw-r--r-- | mail/elm-me/files/config.sh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mail/elm-me/Makefile b/mail/elm-me/Makefile index db0ee206e03..aa50a2875b1 100644 --- a/mail/elm-me/Makefile +++ b/mail/elm-me/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2001/08/01 15:59:44 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2001/09/26 20:27:05 jlam Exp $ # FreeBSD: Makefile,v 1.42 1997/12/24 01:21:07 alex Exp # @@ -15,7 +15,8 @@ COMMENT= ELM Mail User Agent with ME extensions CONFLICTS= elm-* -HAS_CONFIGURE= Yes +USE_BUILDLINK_ONLY= YES +HAS_CONFIGURE= YES CONFIGURE_SCRIPT= ksh ./Configure CONFIGURE_ENV= PREFIX="${PREFIX}" RUN_AS_BATCH=yes CONFIGURE_ARGS= -S diff --git a/mail/elm-me/files/config.sh b/mail/elm-me/files/config.sh index a149af62292..dc2e90174e2 100644 --- a/mail/elm-me/files/config.sh +++ b/mail/elm-me/files/config.sh @@ -285,7 +285,7 @@ packer='' optimize='-O' ccflags='' cppflags='' -ldflags='-s' +ldflags='-s ${LDFLAGS}' cc='cc' libs='-lintl' nametype='bsd' |