diff options
author | jlam <jlam@pkgsrc.org> | 2004-03-29 05:43:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-03-29 05:43:28 +0000 |
commit | 6d92080aa240757729992f43156b2924bbda71c4 (patch) | |
tree | 2684bb3d4a41538be1b78668954f44c69a49033d /devel/libgetopt | |
parent | 82cd68d38a1d8bd0262376d4a40e4c201e6c55b3 (diff) | |
download | pkgsrc-6d92080aa240757729992f43156b2924bbda71c4.tar.gz |
Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.
Diffstat (limited to 'devel/libgetopt')
-rw-r--r-- | devel/libgetopt/builtin.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/libgetopt/builtin.mk b/devel/libgetopt/builtin.mk index 74615cdb8be..7c43be9e1c5 100644 --- a/devel/libgetopt/builtin.mk +++ b/devel/libgetopt/builtin.mk @@ -1,19 +1,17 @@ -# $NetBSD: builtin.mk,v 1.1 2004/03/10 17:57:14 jlam Exp $ +# $NetBSD: builtin.mk,v 1.2 2004/03/29 05:43:30 jlam Exp $ .if !defined(IS_BUILTIN.getopt) IS_BUILTIN.getopt= no . if exists(/usr/include/getopt.h) IS_BUILTIN.getopt= yes . endif -.endif - -CHECK_BUILTIN.getopt?= no -.if !empty(CHECK_BUILTIN.getopt:M[yY][eE][sS]) -USE_BUILTIN.getopt= yes -.endif +.endif # IS_BUILTIN.getopt USE_BUILTIN.getopt?= ${IS_BUILTIN.getopt} +CHECK_BUILTIN.getopt?= no +.if !empty(CHECK_BUILTIN.getopt:M[nN][oO]) + .if !empty(USE_BUILTIN.getopt:M[nN][oO]) LIBGETOPT= -lgetopt .else @@ -24,3 +22,5 @@ BUILDLINK_LDADD.getopt?= ${LIBGETOPT} CONFIGURE_ENV+= LIBGETOPT="${LIBGETOPT}" MAKE_ENV+= LIBGETOPT="${LIBGETOPT}" + +.endif # CHECK_BUILTIN.getopt |