Fix build/PLIST for gmake<4. Bump PKGREVISION.

This commit is contained in:
fhajny 2014-01-13 12:10:23 +00:00
parent 0948c5551e
commit 67e82329e9
3 changed files with 18 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.13 2014/01/08 21:05:46 dholland Exp $
# $NetBSD: Makefile,v 1.14 2014/01/13 12:10:23 fhajny Exp $
#
PKGNAME= rabbitmq-${RMQ_VERSION}
PKGREVISION= 1
PKGREVISION= 2
DISTNAME= rabbitmq-server-${RMQ_VERSION}
CATEGORIES= net
MASTER_SITES= http://www.rabbitmq.com/releases/rabbitmq-server/v${RMQ_VERSION}/

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.13 2014/01/02 19:07:19 fhajny Exp $
$NetBSD: distinfo,v 1.14 2014/01/13 12:10:23 fhajny Exp $
SHA1 (rabbitmq-server-3.2.2.tar.gz) = c5de766fa9250a80080140269847416ed45fe053
RMD160 (rabbitmq-server-3.2.2.tar.gz) = 6b59eb2a03e6e64e2938c74d6ba9686879652a0c
Size (rabbitmq-server-3.2.2.tar.gz) = 3583974 bytes
SHA1 (patch-aa) = 16a822321caacb0e4588791ec4dc1e909d0be4de
SHA1 (patch-plugins-src_do-package.mk) = c1f4a6422a9cb7bac4e1d6bdb671a87a16f73764

View file

@ -0,0 +1,14 @@
$NetBSD: patch-plugins-src_do-package.mk,v 1.1 2014/01/13 12:10:23 fhajny Exp $
Fix module versioning with gmake<4.
--- plugins-src/do-package.mk.orig 2013-12-10 16:18:44.000000000 +0000
+++ plugins-src/do-package.mk
@@ -545,7 +545,7 @@ $(PACKAGE_DIR)/dist/.done: $(PACKAGE_DIR
# makefile.
$(PACKAGE_DIR)/dist/.done.$(VERSION): $(PACKAGE_DIR)/Makefile $(wildcard $(PACKAGE_DIR)/*.mk) $(wildcard $(PACKAGE_DIR)/src/*.erl) $(wildcard $(PACKAGE_DIR)/include/*.hrl) $(wildcard $(PACKAGE_DIR)/*.py) $(foreach DEP,$(NON_INTEGRATED_DEPS_$(PACKAGE_DIR)),$(call package_to_path,$(DEP))/dist/.done)
rm -rf $$(@D)
- $$(MAKE) -C $(PACKAGE_DIR)
+ $$(MAKE) -C $(PACKAGE_DIR) VERSION=$(VERSION)
mkdir -p $$(@D)
touch $$@