60b9c67dda
noticed by naddy@
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
$OpenBSD: patch-Makefile_top_enable_nls,v 1.2 2002/01/20 23:51:31 jcs Exp $
|
|
--- Makefile.top_enable_nls.orig Wed Dec 5 01:41:15 2001
|
|
+++ Makefile.top_enable_nls Sun Jan 20 17:36:54 2002
|
|
@@ -79,15 +79,15 @@
|
|
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
|
|
@@ -139,8 +139,7 @@
|
|
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" \
|