summaryrefslogtreecommitdiff
path: root/wm/aewm++/patches/patch-aa
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-03-12 03:21:37 +0000
committerjschauma <jschauma>2003-03-12 03:21:37 +0000
commitb93a6c62e6434d955a5281e0f547cd33a5871f1a (patch)
treee52bec4c6717226062abf776eca449788e23a3dd /wm/aewm++/patches/patch-aa
parent71eaccde9bb584fa1a82990c3147077371b267d4 (diff)
downloadpkgsrc-b93a6c62e6434d955a5281e0f547cd33a5871f1a.tar.gz
Initial import of the aewm++ window manager. Based on a package submitted
by <juan at xtraeme dot unixbsd dot org> in PR pkg/20533. The aewm++ window manager is a fork of the popular minimal window manager aewm for the X Windows System. What makes it different is its codebase, feature set and focus. The name was created by using the first two letters in the word aesthetic, the wm is for window manager and the ++ is for its C++ code.
Diffstat (limited to 'wm/aewm++/patches/patch-aa')
-rw-r--r--wm/aewm++/patches/patch-aa45
1 files changed, 45 insertions, 0 deletions
diff --git a/wm/aewm++/patches/patch-aa b/wm/aewm++/patches/patch-aa
new file mode 100644
index 00000000000..d76140205e7
--- /dev/null
+++ b/wm/aewm++/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/03/12 03:21:38 jschauma Exp $
+
+--- Makefile.orig Fri Nov 15 18:28:08 2002
++++ Makefile Tue Mar 11 22:07:31 2003
+@@ -1,11 +1,13 @@
+-CC = g++
+-CFLAGS = -g -O2 -Wall
++#CC = g++
++#CFLAGS = -g -O2 -Wall
+
+-prefix = /usr
+-INCLUDES = -I$(prefix)/include
+-LDPATH = -L/usr/X11R6/lib
++prefix = ${PREFIX}
++INCLUDES = -I${X11PREFIX}/include
++LDPATH = ${LDFLAGS}
+ LIBS = -lXext -lX11
+
++.SUFFIXES: .o .cc
++
+ # SHAPE = Shape Extension
+ # NEED_SETENV = Does your Unix not support the setenv function? Use this!
+ DEFINES = -DSHAPE #-DNEED_SETENV
+@@ -28,16 +30,17 @@
+ all: aewm++
+
+ aewm++: $(OBJS)
+- $(CC) $(OBJS) $(LDPATH) $(LIBS) -o $@
++ $(CXX) $(OBJS) $(LDPATH) $(LIBS) -o $@
+
+-$(OBJS): %.o: %.cc $(HEADERS)
+- $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@
++.cc.o: $(HEADERS)
++ echo $<
++ $(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@
+
+ install: all
+ mkdir -p $(DESTDIR)$(prefix)/bin
+ mkdir -p $(DESTDIR)$(prefix)/man/man1
+ install -s aewm++ $(DESTDIR)$(prefix)/bin
+- install -m 644 aewm++.1x $(DESTDIR)$(prefix)/man/man1
++ install -m 644 aewm++.1 $(DESTDIR)$(prefix)/man/man1
+
+ clean:
+ rm -f aewm++ $(OBJS) core