aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/postgresql91-server/Makefile4
-rw-r--r--databases/postgresql92-server/Makefile4
2 files changed, 2 insertions, 6 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index 74aa7f4108b2..b84088158d15 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -333,7 +333,7 @@ pre-everything::
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
.endif
-.if !defined(NO_BUILD)
+.if !defined(NO_BUILD) && !target(do-build)
do-build:
@ cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks
@@ -349,9 +349,7 @@ PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
SUB_FILES+= pkg-install${PKGNAMESUFFIX}
PLIST_SUB+= PG_USER=$(PG_USER)
. endif
-.endif
-.if !defined(NO_BUILD)
post-patch:
. if defined(WITH_ICU)
@${REINPLACE_CMD} -E -e \
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 74aa7f4108b2..b84088158d15 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -333,7 +333,7 @@ pre-everything::
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
.endif
-.if !defined(NO_BUILD)
+.if !defined(NO_BUILD) && !target(do-build)
do-build:
@ cd ${WRKSRC}/src/backend && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks
@@ -349,9 +349,7 @@ PKGMESSAGE= ${WRKSRC}/pkg-message${PKGNAMESUFFIX}
SUB_FILES+= pkg-install${PKGNAMESUFFIX}
PLIST_SUB+= PG_USER=$(PG_USER)
. endif
-.endif
-.if !defined(NO_BUILD)
post-patch:
. if defined(WITH_ICU)
@${REINPLACE_CMD} -E -e \