aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-03-05 01:58:21 +0800
committercrees <crees@FreeBSD.org>2012-03-05 01:58:21 +0800
commit3079dc628d165d0711710ea95d5866463a184dc5 (patch)
tree5d5e2debf253c4b30b5377e5cfd4ce20c0ac5131
parentd09f87a27d79abaaafc78c3a78cae02b2c83b3a3 (diff)
downloadfreebsd-ports-gnome-3079dc628d165d0711710ea95d5866463a184dc5.tar.gz
freebsd-ports-gnome-3079dc628d165d0711710ea95d5866463a184dc5.tar.zst
freebsd-ports-gnome-3079dc628d165d0711710ea95d5866463a184dc5.zip
Don't clobber do-build from slave ports
PR: ports/165265 Submitted by: Ben Morrow <ben@morrow.me.uk>
-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 \