Page MenuHomeFreeBSD

D47225.diff
No OneTemporary

D47225.diff

diff --git a/www/unit-java/Makefile b/www/unit-java/Makefile
--- a/www/unit-java/Makefile
+++ b/www/unit-java/Makefile
@@ -96,8 +96,4 @@
${MAKEFILE} ${MAKE_ARGS} \
${UNIT_MODNAME}-install DESTDIR=${STAGEDIR}
-# Overwrite the target in the ${MASTERDIR}/Makefile
-post-install:
- @${DO_NADA}
-
.include "${MASTERDIR}/Makefile"
diff --git a/www/unit-perl/Makefile b/www/unit-perl/Makefile
--- a/www/unit-perl/Makefile
+++ b/www/unit-perl/Makefile
@@ -29,8 +29,4 @@
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
-# Overwrite the target in the ${MASTERDIR}/Makefile
-post-install:
- @${DO_NADA}
-
.include "${MASTERDIR}/Makefile"
diff --git a/www/unit-php/Makefile b/www/unit-php/Makefile
--- a/www/unit-php/Makefile
+++ b/www/unit-php/Makefile
@@ -30,8 +30,4 @@
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
-# Overwrite the target in the ${MASTERDIR}/Makefile
-post-install:
- @${DO_NADA}
-
.include "${MASTERDIR}/Makefile"
diff --git a/www/unit-python/Makefile b/www/unit-python/Makefile
--- a/www/unit-python/Makefile
+++ b/www/unit-python/Makefile
@@ -31,8 +31,4 @@
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
-# Overwrite the target in the ${MASTERDIR}/Makefile
-post-install:
- @${DO_NADA}
-
.include "${MASTERDIR}/Makefile"
diff --git a/www/unit-ruby/Makefile b/www/unit-ruby/Makefile
--- a/www/unit-ruby/Makefile
+++ b/www/unit-ruby/Makefile
@@ -33,8 +33,4 @@
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
-# Overwrite the target in the ${MASTERDIR}/Makefile
-post-install:
- @${DO_NADA}
-
.include "${MASTERDIR}/Makefile"
diff --git a/www/unit-wasm/Makefile b/www/unit-wasm/Makefile
--- a/www/unit-wasm/Makefile
+++ b/www/unit-wasm/Makefile
@@ -31,8 +31,4 @@
${INSTALL_LIB} ${WRKSRC}/build/lib/unit/modules/${UNIT_MODNAME}.unit.so \
${STAGEDIR}${PREFIX}/libexec/unit/modules/
-# Overwrite the target in the ${MASTERDIR}/Makefile
-post-install:
- @${DO_NADA}
-
.include "${MASTERDIR}/Makefile"
diff --git a/www/unit/Makefile b/www/unit/Makefile
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -123,7 +123,7 @@
CFLAGS+= -Wno-compound-token-split-by-macro
.endif
-.if !target(post-install)
+.if !defined(UNIT_MODNAME)
post-install:
${MKDIR} ${STAGEDIR}${UNIT_DBDIR}
${MKDIR} ${STAGEDIR}${UNIT_LOGDIR}

File Metadata

Mime Type
text/plain
Expires
Fri, Jun 19, 1:46 PM (20 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34082447
Default Alt Text
D47225.diff (2 KB)

Event Timeline