Subject: Alternative suggestion: devel/gettext in current
To: None <>
From: Ruibiao Qiu <>
List: tech-pkg
Date: 02/11/2001 15:14:09
Here is another better solution that requires less changes:

- Add the following lines in pkgsrc/devel/gettext/Makefile

CURRENT_GETTEXT=        /usr/bin/gettext

        @if [ -f ${CURRENT_GETTEXT} ]; then \
            ${ECHO_MSG} "==========================================="; \
            ${ECHO_MSG} "gettext already available, no need to build"; \
            ${ECHO_MSG} "==========================================="; \
            exit 1; \


On Sun, 11 Feb 2001, Ruibiao Qiu wrote:

>Since gettext is included in the current distribution, I wonder if
>we need to distinguish if a package depends on "devel/gettext"?
>Something like in may be of use:
>BUILD_DEPENDS+=                msgfmt:../../devel/gettext
>and remove all such "BUILD_DEPENDS+= .../devel/gettext" lines in
>This can at least save some build time.  It can also avoid the
>build errors when you have an old a.out gettext package on the
>way.  (This problem caused me a lot of time. :( )