1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/net/mknbi/files/patch-Makefile
Pav Lucistnik 9fa89777b8 mknbi is a program that makes network bootable images for various operating
systems suitable for network loading by Etherboot or Netboot, which are ROM
boot loaders. If you are looking to boot using PXE, look no further, mknbi is
not what you want. You probably want something like PXELINUX which is part of
the SYSLINUX package.

PR:		ports/78962
Submitted by:	Radim Kolar <hsn@netmag.cz>
2005-03-19 16:20:32 +00:00

29 lines
999 B
Plaintext

--- Makefile.orig Tue Aug 17 04:47:29 2004
+++ Makefile Thu Mar 17 21:33:37 2005
@@ -18,7 +18,7 @@
FIRSTRELOCS= 0x92800 0x82800
OLDGAS:= $(shell $(AS) --version | grep -q '2\.9\.1' && echo -DGAS291)
CFLAGS= -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer \
- -mcpu=i386 \
+ -march=i386 \
-Wall -W -Wno-format -Wno-unused -DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
LDBINARYFLAG= --oformat binary
FIRST32SIZE= 6144
@@ -38,13 +38,13 @@
# Must pick ANSIMODE=1 if ANSIESC is chosen
BOOTMENU_FLAGS= -DCONSOLE_CRT -DANSIESC -DANSIMODE=1 -DMOTD -DUSRPARMS -DPASSWD -DPOWERSAVE -DCOMCONSOLE=0x3f8 -DCOMPRESERVE
-PREFIX= /usr/local
+PREFIX?= /usr/local
INSTPREFIX= $(BUILD_ROOT)$(PREFIX)
LIBDIR= $(PREFIX)/lib/mknbi
INSTLIBDIR= $(INSTPREFIX)/lib/mknbi
BINDIR= $(INSTPREFIX)/bin
-MANDIR= $(INSTPREFIX)/share/man/man1
-DOCDIR= $(INSTPREFIX)/share/doc/packages/mknbi-$(RPMVERSION)
+MANDIR= $(INSTPREFIX)/man/man1
+DOCDIR= $(INSTPREFIX)/share/doc/mknbi
INSTALL= install