[packages] perl: use a relative symlink to the versioned perl executable (closes...
authorNicolas Thill <nico@openwrt.org>
Mon, 19 Apr 2010 04:12:21 +0000 (04:12 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 19 Apr 2010 04:12:21 +0000 (04:12 +0000)
SVN-Revision: 21014

lang/perl/Makefile

index a54ca87..67eba98 100644 (file)
@@ -160,7 +160,7 @@ endef
 define Package/perl/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/perl$(PKG_VERSION) $(1)/usr/bin
-       ln -f $(1)/usr/bin/perl$(PKG_VERSION) $(1)/usr/bin/perl
+       ln -nsf perl$(PKG_VERSION) $(1)/usr/bin/perl
 endef
 
 ifneq ($(CONFIG_PACKAGE_microperl),)