package/git: fix pcre support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 12 Mar 2017 12:12:03 +0000 (13:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 12 Mar 2017 13:13:53 +0000 (14:13 +0100)
The current code contains some obvious typos.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/git/git.mk

index 138a8b6038e68578e8930eade36c077733d584dd..75d5140e0cf8d9fbab6a18d7cde7aa1bc1f228dc 100644 (file)
@@ -23,8 +23,8 @@ else
 GIT_CONF_OPTS += --without-openssl
 endif
 
-ifeq ($(BR2_PACKAGE_PERL),y)
-GIT_DEPENDENCIES += perl
+ifeq ($(BR2_PACKAGE_PCRE),y)
+GIT_DEPENDENCIES += pcre
 GIT_CONF_OPTS += --with-libpcre
 else
 GIT_CONF_OPTS += --without-libpcre