mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
45 lines
948 B
Plaintext
45 lines
948 B
Plaintext
--- Makefile.orig Sat Jul 12 21:00:47 2003
|
|
+++ Makefile Sun Jul 27 17:59:49 2003
|
|
@@ -16,13 +16,13 @@
|
|
# (and.init.debian for Debian GNU/Linux or and.init for others;
|
|
# leave empty for BSD!)
|
|
#
|
|
-INITSCRIPT=and.init
|
|
+INITSCRIPT=
|
|
|
|
#
|
|
# Target directories. Examples for common configurations are
|
|
# given below.
|
|
#
|
|
-PREFIX=/usr/local
|
|
+#PREFIX=/usr/local
|
|
INSTALL_ETC=$(PREFIX)/etc
|
|
INSTALL_INITD=/etc/init.d
|
|
INSTALL_SBIN=$(PREFIX)/sbin
|
|
@@ -30,10 +30,10 @@
|
|
|
|
# typical OpenBSD or FreeBSD configuration
|
|
#PREFIX=/usr/local
|
|
-#INSTALL_ETC=/etc
|
|
-#INSTALL_INITD=
|
|
-#INSTALL_SBIN=$(PREFIX)/sbin
|
|
-#INSTALL_MAN=$(PREFIX)/man
|
|
+INSTALL_ETC=${PREFIX}/etc
|
|
+INSTALL_INITD=
|
|
+INSTALL_SBIN=$(PREFIX)/sbin
|
|
+INSTALL_MAN=$(PREFIX)/man
|
|
|
|
# typical Debian or SuSE 7.x configuration
|
|
#PREFIX=/usr
|
|
@@ -110,8 +110,8 @@
|
|
LIBS = -lkvm
|
|
else
|
|
ifeq (${ARCH},FreeBSD)
|
|
- CC = gcc -Wall
|
|
- LD = gcc
|
|
+ CC ?= gcc -Wall
|
|
+ LD = $(CC)
|
|
LIBS = -lkvm
|
|
else
|
|
ifeq (${ARCH},SunOS)
|