diff options
author | jlam <jlam> | 2001-05-24 08:53:54 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-24 08:53:54 +0000 |
commit | ea9a943426ae849f8671eeb8718e501bfeadb315 (patch) | |
tree | 5f91b7729fd1bdb67af0af17bb78b53ca29f8bd6 /www/cadaver | |
parent | eb8ff3e130393605c7f87cc5adb1b7df003f0849 (diff) | |
download | pkgsrc-ea9a943426ae849f8671eeb8718e501bfeadb315.tar.gz |
Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers
and libraries. Create a variable BUILDLINK_TARGETS whose value is the
list of build-link targets to execute.
Diffstat (limited to 'www/cadaver')
-rw-r--r-- | www/cadaver/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/cadaver/Makefile b/www/cadaver/Makefile index 0d0822e3bec..4e2ec537a92 100644 --- a/www/cadaver/Makefile +++ b/www/cadaver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/05/22 16:09:14 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2001/05/24 08:53:58 jlam Exp $ DISTNAME= cadaver-0.17.0 CATEGORIES= www @@ -21,18 +21,18 @@ CONFIGURA_ARGS+= --with-include-neon CONFIGURE_ARGS+= --enable-libxml CONFIGURE_ARGS+= --enable-netrc -.include "../../devel/libgetopt/Makefile.getopt" -.include "../../devel/readline/Makefile.readline" +.include "../../devel/libgetopt/buildlink.mk" +.include "../../devel/readline/buildlink.mk" CONFIGURE_ENV+= LIBS="${LIBS}" CONFIGURE_ENV+= ac_cv_lib_curses_tputs=no CONFIGURE_ENV+= ac_cv_lib_ncurses_tputs=no -CFLAGS+= -I${WRKINCDIR} ${CPPFLAGS} -LDFLAGS+= -L${WRKLIBDIR} +CFLAGS+= -I${BUILDLINK_INCDIR} ${CPPFLAGS} +LDFLAGS+= -L${BUILDLINK_LIBDIR} LIBS+= -ltermcap -pre-configure: link-getopt-headers link-readline-headers link-readline-libs +pre-configure: ${BUILDLINK_TARGETS} # The build process doesn't correctly find some headers for utility functions # which are provided in ${WRKSRC}/lib. Help the compiler by linking the |