From 2f2492f7f193885bb13f13805e2f703474018b95 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Sun, 14 Jan 2007 00:55:25 +0000 Subject: Update packages to provide properly working initialization scripts. These have been tested with embedded PowerPC systems. --- package/portmap/portmap.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/portmap/portmap.mk') diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk index 001ecbb43..29fdc2927 100644 --- a/package/portmap/portmap.mk +++ b/package/portmap/portmap.mk @@ -25,12 +25,14 @@ $(PORTMAP_DIR)/$(PORTMAP_BINARY): $(PORTMAP_DIR)/.unpacked $(MAKE) CC=$(TARGET_CC) O="$(TARGET_CFLAGS)" -C $(PORTMAP_DIR) $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY): $(PORTMAP_DIR)/$(PORTMAP_BINARY) - install -D $(PORTMAP_DIR)/$(PORTMAP_BINARY) $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY) + $(INSTALL) -D $(PORTMAP_DIR)/$(PORTMAP_BINARY) $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY) + $(INSTALL) -m 0755 -D package/portmap/init-portmap $(TARGET_DIR)/etc/init.d/S13portmap portmap: uclibc $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY) portmap-clean: rm -f $(TARGET_DIR)/$(PORTMAP_TARGET_BINARY) + rm -f $(TARGET_DIR)/etc/init.d/S13portmap -$(MAKE) -C $(PORTMAP_DIR) clean portmap-dirclean: -- cgit v1.2.3