34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Makefile_top_enable_nls,v 1.3 2003/01/01 21:21:00 naddy Exp $
|
|
--- Makefile.top_enable_nls.orig Mon Jul 1 04:13:13 2002
|
|
+++ Makefile.top_enable_nls Wed Jan 1 22:16:09 2003
|
|
@@ -81,15 +81,15 @@ GTOP_INCLUDE = -I$(GTOP_PREFIX)/include
|
|
GTOP_LIBS = -L$(GTOP_PREFIX)/lib -lgtop -lgtop_common -lgtop_sysdeps -lXau
|
|
|
|
|
|
-INSTALLDIR=/usr/local/bin
|
|
-MANDIR=/usr/local/share/man/man1
|
|
+INSTALLDIR=${PREFIX}/bin
|
|
+MANDIR=${PREFIX}/man/man1
|
|
MANMODE = 644
|
|
MANDIRMODE = 755
|
|
-INCLUDEDIR=/usr/local/include
|
|
+INCLUDEDIR=${PREFIX}/include
|
|
INCLUDEMODE = 644
|
|
INCLUDEDIRMODE = 755
|
|
|
|
-LOCALEDIR ?= /usr/share/locale
|
|
+LOCALEDIR ?= ${PREFIX}/share/locale
|
|
|
|
export GTK_CONFIG GTOP_INCLUDE GTOP_LIBS SYS_LIBS EXTRAOBJS BINMODE
|
|
export INSTALLDIR INCLUDEDIR INCLUDEMODE INCLUDEDIRMODE LOCALEDIR
|
|
@@ -152,8 +152,7 @@ netbsd:
|
|
openbsd:
|
|
(cd po && ${MAKE} all)
|
|
(cd src && ${MAKE} GTK_CONFIG=gtk-config GTOP_LIBS= GTOP_INCLUDE= \
|
|
- PTHREAD_INC=-I/usr/local/include EXTRAOBJS= \
|
|
- SYS_LIBS="-lkvm" gkrellm )
|
|
+ SYS_LIBS="-lkvm -pthread" gkrellm )
|
|
|
|
solaris:
|
|
(cd po && ${MAKE} MSGFMT_OPT="-v -o" \
|