diff options
author | tv <tv@pkgsrc.org> | 2005-01-21 03:15:52 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-01-21 03:15:52 +0000 |
commit | 6926b1508a9c2e6ea888627aafe7cc67f2e4c5fb (patch) | |
tree | a027af23000d8b5dbd80183da755a28de2edfe6a /databases/postgresql74 | |
parent | 0b2645dda2ff0f78cd28842b0d0047dcb68df08c (diff) | |
download | pkgsrc-6926b1508a9c2e6ea888627aafe7cc67f2e4c5fb.tar.gz |
Give interix3 a build template.
Diffstat (limited to 'databases/postgresql74')
-rw-r--r-- | databases/postgresql74/Makefile.common | 15 | ||||
-rw-r--r-- | databases/postgresql74/files/interix3.template | 6 |
2 files changed, 17 insertions, 4 deletions
diff --git a/databases/postgresql74/Makefile.common b/databases/postgresql74/Makefile.common index 817855e75d9..99e0d26be95 100644 --- a/databases/postgresql74/Makefile.common +++ b/databases/postgresql74/Makefile.common @@ -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" diff --git a/databases/postgresql74/files/interix3.template b/databases/postgresql74/files/interix3.template new file mode 100644 index 00000000000..2a6cdf01c78 --- /dev/null +++ b/databases/postgresql74/files/interix3.template @@ -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 |