Cleanup makefile and fix compilation
authorFlorian Fainelli <florian@openwrt.org>
Wed, 6 Aug 2008 14:26:22 +0000 (14:26 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 6 Aug 2008 14:26:22 +0000 (14:26 +0000)
SVN-Revision: 12209

multimedia/gst-plugins-base/Makefile

index 6221b8e..0ede23d 100644 (file)
@@ -33,14 +33,10 @@ define Package/gst-plugins-base/description
 endef
 
 define Build/Configure
-       (cd $(PKG_BUILD_DIR); \
-               if [ -x $(CONFIGURE_CMD) ]; then \
-                       $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
-                       $(CONFIGURE_VARS) \
-                       $(CONFIGURE_CMD) \
-                       --disable-ogg --disable-vorbis\
-                       $(CONFIGURE_ARGS) ;\
-               fi \
+       $(call Build/Configure/Default,\
+               --disable-ogg \
+               --disable-vorbis \
+               --without-x \
        )
 endef