Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 482320
Collapse All | Expand All

(-)cnet-3.2.4/Makefile.orig (-2 / +2 lines)
Lines 6-12 Link Here
6
# Change the following 4 constants to suit your system:
6
# Change the following 4 constants to suit your system:
7
#
7
#
8
# PREFIX defines the directory below which cnet will be installed.
8
# PREFIX defines the directory below which cnet will be installed.
9
PREFIX		= /usr/local
9
PREFIX		= /usr
10
#PREFIX		= $(HOME)
10
#PREFIX		= $(HOME)
11
#
11
#
12
# BINDIR defines the directory where the cnet binary will be installed.
12
# BINDIR defines the directory where the cnet binary will be installed.
Lines 16-22 Link Here
16
LIBDIR		= $(PREFIX)/lib/cnet
16
LIBDIR		= $(PREFIX)/lib/cnet
17
#
17
#
18
# WWWDIR defines the directory to hold cnet's web-based documentation
18
# WWWDIR defines the directory to hold cnet's web-based documentation
19
WWWDIR		= /home/httpd/html/cnet
19
#WWWDIR		= /home/httpd/html/cnet
20
#WWWDIR		= $(HOME)/WWW/cnet
20
#WWWDIR		= $(HOME)/WWW/cnet
21
#
21
#
22
# ---------------------------------------------------------------------
22
# ---------------------------------------------------------------------
(-)cnet-3.2.4/src/Makefile.linux.orig (-3 / +3 lines)
Lines 20-29 Link Here
20
XINCLUDES	= -I/usr/include/tcl8.5
20
XINCLUDES	= -I/usr/include/tcl8.5
21
XLIBS		= -ltcl8.5 -ltk8.5 -lX11
21
XLIBS		= -ltcl8.5 -ltk8.5 -lX11
22
#
22
#
23
C99		= gcc -std=c99 -Wall -Werror -pedantic
23
C99		= $(CC) -std=c99 -pedantic
24
CFLAGS		= -O3 -fPIC $(INCLUDES) $(XINCLUDES)
24
CFLAGS		+= -fPIC $(INCLUDES) $(XINCLUDES)
25
#
25
#
26
LD		= gcc -rdynamic
26
LD		= $(CC) -rdynamic
27
LIBDIRS		= $(XLIBDIRS)
27
LIBDIRS		= $(XLIBDIRS)
28
LIBS		= -lelf -ldl -lm
28
LIBS		= -lelf -ldl -lm
29
STRIP		= strip
29
STRIP		= strip

Return to bug 482320