diff options
Diffstat (limited to 'databases/postgresql/Makefile.common')
-rw-r--r-- | databases/postgresql/Makefile.common | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/databases/postgresql/Makefile.common b/databases/postgresql/Makefile.common index f5bfd9d30c2..feb35a49a81 100644 --- a/databases/postgresql/Makefile.common +++ b/databases/postgresql/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.18 2001/05/29 23:28:05 jlam Exp $ +# $NetBSD: Makefile.common,v 1.19 2001/06/11 02:05:08 jlam Exp $ # # This Makefile fragment is included by all PostgreSQL packages built from # the main sources of the PostgreSQL distribution. @@ -79,23 +79,7 @@ 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} - -# The following is a hack to force ${BUILDLINK_LIBDIR} to the front of the -# linker's library search path without having to patch a lot of Makefile. -# It works because the PostgreSQL Makefiles invoke the linker with $(CFLAGS) -# as well. -# -CFLAGS+= -L${BUILDLINK_LIBDIR} - post-extract: - ${MKDIR} ${BUILDLINK_INCDIR} - ${MKDIR} ${BUILDLINK_LIBDIR} if [ -d ${WRKSRC}/src ]; then \ ${RM} -f ${WRKSRC}/src/Makefile.custom; \ ${CP} -f ${COMMON_FILESDIR}/Makefile.custom \ |