openbsd-ports/sysutils/libretto-config/patches/patch-aa
millert 49d231255e Port of the Linux libapm. Allows modification of the libretto-specific
BIOS options like the toshiba windows app.  From the FreeBSD port (modified
to use i386_[gs]et_ioperm(2)).  CMOS mode also works.
2000-07-02 16:57:47 +00:00

21 lines
424 B
Plaintext

--- Makefile.orig Thu Jun 18 04:44:09 1998
+++ Makefile Sat Jul 1 13:05:35 2000
@@ -10,11 +10,14 @@
MANLANG = j
#MANDIR = /usr/local/man
#MANLANG = e
-
-CFLAGS = -O2 #-DLIBRETTO -DDEBUG
+LIBS = -li386
+#DEFS= -DLIBRETTO -DDEBUG
+CFLAGS += $(DEFS)
$(PROGRAM): $(OBJ)
- $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJ)
+ $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJ) $(LIBS)
+
+all: $(PROGRAM)
clean:
/bin/rm -f $(OBJ) $(PROGRAM) *~