File notion-makefile.patch of Package notion

--- system.mk.orig	2011-11-01 01:47:59.050000463 +0100
+++ system.mk	2011-11-01 01:50:41.755000463 +0100
@@ -104,7 +104,8 @@
 # SunOS/Solaris
 #X11_PREFIX=/usr/openwin
 
-X11_LIBS=-L$(X11_PREFIX)/lib -lX11 -lXext
+X11_LIBDIR=$(X11_PREFIX)/lib
+X11_LIBS=-L$(X11_LIBDIR) -lX11 -lXext
 X11_INCLUDES=-I$(X11_PREFIX)/include
 
 # XFree86 libraries up to 4.3.0 have a bug that can cause a segfault.
@@ -176,7 +177,8 @@
 	-Wtrigraphs -Wformat -Wchar-subscripts \
 	-Wparentheses -pedantic -Wuninitialized
 
-CFLAGS=-Os $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
+OPTFLAGS=-Os
+CFLAGS=$(OPTFLAGS) $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
 LDFLAGS=-Wl,--as-needed $(LIBS) $(EXTRA_LIBS) 
 EXPORT_DYNAMIC=-Xlinker --export-dynamic
 
@@ -227,7 +229,7 @@
 ##
 
 INSTALL=sh $(TOPDIR)/install-sh -c
-INSTALL_STRIP=-s
+INSTALL_STRIP=
 INSTALLDIR=mkdir -p
 
 BIN_MODE=755
@@ -241,7 +243,7 @@
 ##
 
 INSTALL_STRIP =
-CFLAGS += -g
+#CFLAGS += -g
 
 
 ifeq ($(PRELOAD_MODULES),1)