diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-25 14:56:34 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-25 14:56:34 +0000 |
commit | a25ac52b66db868bf9ae17109a90f7d1b609c297 (patch) | |
tree | 7240f757aa7d1e14824edcad9bb7d133b3088d05 | |
parent | 5ed66ffaaa016760500d55ff6a0aff4b7011650c (diff) | |
download | pkgsrc-a25ac52b66db868bf9ae17109a90f7d1b609c297.tar.gz |
Add definitions for BUILDLINK_INCDIR and BUILDLINK_LIBDIR used by the
post-extract target.
-rw-r--r-- | databases/postgresql/Makefile.common | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/postgresql/Makefile.common b/databases/postgresql/Makefile.common index 4d1c6504566..9ada587c2c1 100644 --- a/databases/postgresql/Makefile.common +++ b/databases/postgresql/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.16 2001/05/24 08:54:27 jlam Exp $ +# $NetBSD: Makefile.common,v 1.17 2001/05/25 14:56:34 jlam Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution. @@ -79,6 +79,9 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" CONFIGURE_ENV+= LIBS="${LIBS}" MAKE_ENV+= CUSTOM_COPT="${CFLAGS}" +BUILDLINK_INCDIR= ${WRKDIR}/include +BUILDLINK_LIBDIR= ${WRKDIR}/lib + CPPFLAGS+= -I${BUILDLINK_INCDIR} CFLAGS+= -I${BUILDLINK_INCDIR} LDFLAGS+= -L${BUILDLINK_LIBDIR} @@ -91,7 +94,8 @@ LDFLAGS+= -L${BUILDLINK_LIBDIR} CFLAGS+= -L${BUILDLINK_LIBDIR} post-extract: - ${MKDIR} ${BUILDLINK_INCDIR} ${BUILDLINK_LIBDIR} + ${MKDIR} ${BUILDLINK_INCDIR} + ${MKDIR} ${BUILDLINK_LIBDIR} if [ -d ${WRKSRC}/src ]; then \ ${RM} -f ${WRKSRC}/src/Makefile.custom; \ ${CP} -f ${COMMON_FILESDIR}/Makefile.custom \ |