mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 10:10:31 -04:00
("root") window on a workstation display running X. bgs uses imlib2 for image rendering and rotates the images automaticly. It is made for dynamic Xinerama/Xrandr setups such as used with notebooks, but it works very fine in any setup. PR: ports/125601 Submitted by: Julien Laffaye <kimelto at gmail.com>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
--- config.mk.orig 2008-07-13 17:31:26.000000000 +0200
|
|
+++ config.mk 2008-07-14 15:01:43.000000000 +0200
|
|
@@ -4,14 +4,14 @@
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
+PREFIX ?= /usr/local
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
-X11INC = /usr/X11R6/include
|
|
-X11LIB = /usr/X11R6/lib
|
|
+X11INC = $(LOCALBASE)/include
|
|
+X11LIB = $(LOCALBASE)/lib
|
|
|
|
-IMLIB2INC = /usr/include/imlib2
|
|
-IMLIB2LIB = /usr/lib/imlib2/
|
|
+IMLIB2INC = $(LOCALBASE)/imlib2
|
|
+IMLIB2LIB = $(LOCALBASE)/lib/imlib2/
|
|
|
|
# Xinerama, comment if you don't want it
|
|
XINERAMALIBS = -L${X11LIB} -lXinerama
|
|
@@ -22,13 +22,13 @@
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} -L ${IMLIB2LIB} -lImlib2
|
|
|
|
# flags
|
|
-CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
-LDFLAGS = -s ${LIBS}
|
|
+CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
+LDFLAGS += ${LIBS}
|
|
|
|
# Solaris
|
|
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
|
#LDFLAGS = ${LIBS}
|
|
|
|
# compiler and linker
|
|
-CC = cc
|
|
+CC ?= cc
|