]> git.pld-linux.org Git - packages/atmelwlandriver.git/blobdiff - atmelwlandriver-winter-makefile.patch
- updated
[packages/atmelwlandriver.git] / atmelwlandriver-winter-makefile.patch
index 3210e3d18e1bc840b2bd6eab8b061ce6f98415ef..680a0bba6d40f3df811eaca6a50fa46c199d07e3 100644 (file)
@@ -1,5 +1,6 @@
---- atmelwlandriver/src/apps/winter/Makefile.rules.orig        2004-08-03 21:44:43.000000000 +0200
-+++ atmelwlandriver/src/apps/winter/Makefile.rules     2004-08-03 21:54:48.000000000 +0200
+diff -uNr atmelwlandriver.orig/src/apps/winter/Makefile.rules atmelwlandriver/src/apps/winter/Makefile.rules
+--- atmelwlandriver.orig/src/apps/winter/Makefile.rules        2005-07-22 09:37:22.000000000 +0200
++++ atmelwlandriver/src/apps/winter/Makefile.rules     2006-04-11 20:05:40.000000000 +0200
 @@ -5,9 +5,9 @@
  
  all: postmake
@@ -7,18 +8,25 @@
 -CC:=$(shell wx-config --cxx)
 -CFLAGS:=$(shell wx-config --cxxflags) -I$(INC_DIR) -I$(RSRC_DIR) $(ARCH_SPECIFIC_CFLAGS)
 -CFLAGS1:=$(shell wx-config --libs)
-+CC:=$(shell wxgtk2-2.4-config --cxx)
-+CFLAGS:=$(OPT) $(shell wxgtk2-2.4-config --cxxflags) -I$(INC_DIR) -I$(RSRC_DIR) $(ARCH_SPECIFIC_CFLAGS)
-+CFLAGS1:=$(shell wxgtk2-2.4-config --libs)
++CC:=$(shell $(WXCONFIG) --cxx)
++CFLAGS:=$(shell $(WXCONFIG) --cxxflags) -I$(INC_DIR) -I$(RSRC_DIR) $(ARCH_SPECIFIC_CFLAGS)
++CFLAGS1:=$(shell $(WXCONFIG) --libs)
  
  VPATH:=$(INC_DIR) $(SRC_DIR) $(RSRC_DIR)
  
-@@ -20,7 +20,7 @@
+@@ -20,13 +20,13 @@
  wxconfig:
        @config_exists=no;\
        for path_dir in `echo $(PATH) | tr : ' '`; do\
 -        if test -f $$path_dir/wx-config; then\
-+        if test -f $$path_dir/wxgtk2-2.4-config; then\
++        if test -f $$path_dir/$(WXCONFIG); then\
            config_exists=yes;\
          fi\
        done;\
+       if test $$config_exists = 'no'; then\
+         echo 'It seems that the wxWindows library is not installed.';\
+-        echo 'wx-config, the script providing information about wxWindows';\
++        echo '$(WXCONFIG), the script providing information about wxWindows';\
+         echo 'installation, is missing. Please, refer to the README.linux';\
+         echo 'or visit www.wxwindows.org for further information.';\
+         echo 'We are sorry about the inconvenience.';\
This page took 0.059539 seconds and 4 git commands to generate.