Give interix3 a build template.
This commit is contained in:
parent
0b2645dda2
commit
6926b1508a
2 changed files with 17 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.16 2004/12/20 13:16:02 grant Exp $
|
||||
# $NetBSD: Makefile.common,v 1.17 2005/01/21 03:15:52 tv Exp $
|
||||
#
|
||||
# This Makefile fragment is included by all PostgreSQL packages built from
|
||||
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
|
||||
|
@ -93,6 +93,13 @@ post-extract:
|
|||
${CP} -f ${COMMON_FILESDIR}/Makefile.custom \
|
||||
${WRKSRC}/src/Makefile.custom; \
|
||||
fi
|
||||
.for platform in interix3
|
||||
if [ -d ${WRKSRC}/src/template ]; then \
|
||||
${RM} -f ${WRKSRC}/src/template/${platform}; \
|
||||
${CP} -f ${COMMON_FILESDIR}/${platform}.template \
|
||||
${WRKSRC}/src/template/${platform}; \
|
||||
fi
|
||||
.endfor
|
||||
if [ -d ${WRKSRC}/src/interfaces/libpq ]; then \
|
||||
${RM} -f ${WRKSRC}/src/interfaces/libpq/GNUmakefile; \
|
||||
${CP} -f ${COMMON_FILESDIR}/GNUmakefile.libpq \
|
||||
|
@ -104,9 +111,9 @@ post-extract:
|
|||
${WRKSRC}/src/interfaces/libpgtcl/GNUmakefile; \
|
||||
fi
|
||||
if [ -d ${WRKSRC}/src/backend/port/dynloader ]; then \
|
||||
${RM} -f ${WRKSRC}/src/backend/port/dynloader/netbsd.[ch];\
|
||||
${CP} -f ${COMMON_FILESDIR}/netbsd.[ch] \
|
||||
${WRKSRC}/src/backend/port/dynloader/; \
|
||||
${RM} -f ${WRKSRC}/src/backend/port/dynloader/netbsd.[ch]; \
|
||||
${CP} -f ${COMMON_FILESDIR}/netbsd.[ch] \
|
||||
${WRKSRC}/src/backend/port/dynloader/; \
|
||||
fi
|
||||
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
|
|
6
databases/postgresql74/files/interix3.template
Normal file
6
databases/postgresql74/files/interix3.template
Normal file
|
@ -0,0 +1,6 @@
|
|||
# $NetBSD: interix3.template,v 1.1 2005/01/21 03:15:52 tv Exp $
|
||||
|
||||
THREAD_SUPPORT=yes
|
||||
THREAD_CPPFLAGS="-D_REENTRANT"
|
||||
THREAD_LIBS="-lpthread"
|
||||
NEED_REENTRANT_FUNCS=yes
|
Loading…
Reference in a new issue