gahr@gahrtop> cat Makefile # New ports collection makefile for: thinglaunch # Date created: 22 Jul 2005 # Whom: Emanuel Haupt # # $FreeBSD: ports/x11/thinglaunch/Makefile,v 1.10 2009/09/02 11:50:05 ehaupt Exp $ # PORTNAME= thinglaunch PORTVERSION= 2.0 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_LOCAL}/gahr/ \ http://people.freebsd.org/~gahr/distfiles/ \ http://www.gahr.ch/thinglaunch/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= A very fast launcher program for X USE_GMAKE= yes USE_XORG= x11 xproto MAKE_JOBS_SAFE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib MAKE_ENV+= LDFLAGS="${LDFLAGS}" PLIST_FILES= bin/thinglaunch do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin .include gahr@gahrtop> make extract ===> Extracting for thinglaunch-2.0 => MD5 Checksum OK for thinglaunch-2.0.tar.gz. => SHA256 Checksum OK for thinglaunch-2.0.tar.gz. > cat work/thinglaunch-2.0/Makefile EXEC= thinglaunch SRCS= thinglaunch.c completion.c OBJS= $(SRCS:.c=.o) CFLAGS+= -O3 -Wall -Wextra -g LDFLAGS+= -lX11 all: $(EXEC) $(EXEC): $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) clean: rm -f $(OBJS) $(EXEC) gahr@gahrtop> make ===> Patching for thinglaunch-2.0 ===> thinglaunch-2.0 depends on executable: gmake - found ===> thinglaunch-2.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> thinglaunch-2.0 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===> Configuring for thinglaunch-2.0 ===> Building for thinglaunch-2.0 cc -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -O3 -Wall -Wextra -g -c -o thinglaunch.o thinglaunch.c cc -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -O3 -Wall -Wextra -g -c -o completion.o completion.c cc -O2 -pipe -march=prescott -I/usr/local/include -fno-strict-aliasing -O3 -Wall -Wextra -g -L/usr/local/lib -lX11 -o thinglaunch thinglaunch.o completion.o gahr@gahrtop> make clean ===> Cleaning for thinglaunch-2.0 gahr@gahrtop> sed -i '' -e 's|USE_GMAKE|#USE_GMAKE|' Makefile gahr@gahrtop> make ===> Extracting for thinglaunch-2.0 => MD5 Checksum OK for thinglaunch-2.0.tar.gz. => SHA256 Checksum OK for thinglaunch-2.0.tar.gz. ===> Patching for thinglaunch-2.0 ===> thinglaunch-2.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> thinglaunch-2.0 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found ===> Configuring for thinglaunch-2.0 ===> Building for thinglaunch-2.0 cc -O2 -pipe -march=prescott -O3 -Wall -Wextra -g -c thinglaunch.c cc -O2 -pipe -march=prescott -O3 -Wall -Wextra -g -c completion.c thinglaunch.c:20:22: error: X11/Xlib.h: No such file or directory thinglaunch.c:21:23: error: X11/Xutil.h: No such file or directory thinglaunch.c:22:27: error: X11/keysymdef.h: No such file or directory thinglaunch.c:37: error: expected ')' before '*' token thinglaunch.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token thinglaunch.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gc' thinglaunch.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rectgc' thinglaunch.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'win' thinglaunch.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token thinglaunch.c: In function 'createWindow': thinglaunch.c:88: error: 'XSizeHints' undeclared (first use in this function) thinglaunch.c:88: error: (Each undeclared identifier is reported only once thinglaunch.c:88: error: for each function it appears in.) thinglaunch.c:88: error: 'win_size_hints' undeclared (first use in this function) thinglaunch.c:89: error: 'XSetWindowAttributes' undeclared (first use in this function) thinglaunch.c:89: error: expected ';' before 'attrib' thinglaunch.c:96: error: 'display' undeclared (first use in this function) thinglaunch.c:96: warning: implicit declaration of function 'XOpenDisplay' thinglaunch.c:101: warning: implicit declaration of function 'DefaultScreen' thinglaunch.c:102: warning: implicit declaration of function 'DisplayWidth' thinglaunch.c:103: warning: implicit declaration of function 'DisplayHeight' thinglaunch.c:108: warning: implicit declaration of function 'BlackPixel' thinglaunch.c:109: warning: implicit declaration of function 'WhitePixel' thinglaunch.c:115: error: 'attrib' undeclared (first use in this function) thinglaunch.c:115: error: 'True' undeclared (first use in this function) thinglaunch.c:116: error: 'win' undeclared (first use in this function) thinglaunch.c:116: warning: implicit declaration of function 'XCreateWindow' thinglaunch.c:116: warning: implicit declaration of function 'RootWindow' thinglaunch.c:118: error: 'CopyFromParent' undeclared (first use in this function) thinglaunch.c:118: error: 'InputOutput' undeclared (first use in this function) thinglaunch.c:119: error: 'CWOverrideRedirect' undeclared (first use in this function) thinglaunch.c:122: warning: implicit declaration of function 'XAllocSizeHints' thinglaunch.c:127: error: 'PMaxSize' undeclared (first use in this function) thinglaunch.c:127: error: 'PMinSize' undeclared (first use in this function) thinglaunch.c:131: warning: implicit declaration of function 'XSetWMNormalHints' thinglaunch.c:134: warning: implicit declaration of function 'XFree' thinglaunch.c:136: warning: implicit declaration of function 'XMapWindow' thinglaunch.c: In function 'setupGC': thinglaunch.c:142: error: 'XGCValues' undeclared (first use in this function) thinglaunch.c:142: error: expected ';' before 'values' thinglaunch.c:145: error: 'LineSolid' undeclared (first use in this function) thinglaunch.c:146: error: 'CapButt' undeclared (first use in this function) thinglaunch.c:147: error: 'JoinBevel' undeclared (first use in this function) thinglaunch.c:150: error: 'gc' undeclared (first use in this function) thinglaunch.c:150: warning: implicit declaration of function 'XCreateGC' thinglaunch.c:150: error: 'display' undeclared (first use in this function) thinglaunch.c:150: error: 'win' undeclared (first use in this function) thinglaunch.c:150: error: 'values' undeclared (first use in this function) thinglaunch.c:151: error: 'rectgc' undeclared (first use in this function) thinglaunch.c:152: warning: implicit declaration of function 'XSetForeground' thinglaunch.c:153: warning: implicit declaration of function 'XSetBackground' thinglaunch.c:158: warning: implicit declaration of function 'XSetLineAttributes' thinglaunch.c:163: error: 'font_info' undeclared (first use in this function) thinglaunch.c:163: warning: implicit declaration of function 'XLoadQueryFont' thinglaunch.c:168: warning: implicit declaration of function 'XSetFont' thinglaunch.c: In function 'eventLoop': thinglaunch.c:175: error: 'XEvent' undeclared (first use in this function) thinglaunch.c:175: error: expected ';' before 'e' thinglaunch.c:179: warning: implicit declaration of function 'XSelectInput' thinglaunch.c:179: error: 'display' undeclared (first use in this function) thinglaunch.c:179: error: 'win' undeclared (first use in this function) thinglaunch.c:179: error: 'ExposureMask' undeclared (first use in this function) thinglaunch.c:179: error: 'KeyPressMask' undeclared (first use in this function) thinglaunch.c:182: warning: implicit declaration of function 'XNextEvent' thinglaunch.c:182: error: 'e' undeclared (first use in this function) thinglaunch.c:184: error: 'Expose' undeclared (first use in this function) thinglaunch.c:187: error: 'KeyPress' undeclared (first use in this function) thinglaunch.c:188: warning: implicit declaration of function 'keypress' thinglaunch.c: In function 'grabHack': thinglaunch.c:210: warning: implicit declaration of function 'XGrabKeyboard' thinglaunch.c:210: error: 'display' undeclared (first use in this function) thinglaunch.c:210: error: 'win' undeclared (first use in this function) thinglaunch.c:210: error: 'False' undeclared (first use in this function) thinglaunch.c:210: error: 'GrabModeAsync' undeclared (first use in this function) thinglaunch.c:211: error: 'CurrentTime' undeclared (first use in this function) thinglaunch.c: In function 'redraw': thinglaunch.c:225: error: 'font_info' undeclared (first use in this function) thinglaunch.c:226: warning: implicit declaration of function 'XTextWidth' thinglaunch.c:228: warning: implicit declaration of function 'XFillRectangle' thinglaunch.c:228: error: 'display' undeclared (first use in this function) thinglaunch.c:228: error: 'win' undeclared (first use in this function) thinglaunch.c:228: error: 'rectgc' undeclared (first use in this function) thinglaunch.c:229: warning: implicit declaration of function 'XDrawRectangle' thinglaunch.c:229: error: 'gc' undeclared (first use in this function) thinglaunch.c:230: warning: implicit declaration of function 'XDrawString' thinglaunch.c:231: warning: implicit declaration of function 'XDrawLine' thinglaunch.c:234: warning: implicit declaration of function 'XFlush' thinglaunch.c: At top level: thinglaunch.c:239: error: expected ')' before '*' token thinglaunch.c: In function 'execcmd': thinglaunch.c:317: warning: implicit declaration of function 'XDestroyWindow' thinglaunch.c:317: error: 'display' undeclared (first use in this function) thinglaunch.c:317: error: 'win' undeclared (first use in this function) *** Error code 1 1 error *** Error code 1 Stop in /home/gahr/docs/Projects/FreeBSD/ports/x11/thinglaunch. Exit 1 gahr@gahrtop> exit Script done on Wed Sep 9 23:04:36 2009