50b333ff72
While here, simplify things by using the BSD_INSTALL* variables. Bump PKGREVISION.
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
$NetBSD: patch-aa,v 1.4 2008/02/08 03:50:07 bjs Exp $
|
|
|
|
--- Makefile.in.orig 2008-01-17 15:22:39.000000000 -0500
|
|
+++ Makefile.in
|
|
@@ -22,7 +22,7 @@ INTERNAL_CFLAGS = -I$(srcdir) -I.
|
|
ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS)
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
-PERL = perl -I$(srcdir)/perllib
|
|
+PERL = ${PERL5}
|
|
|
|
XOBJS = @XOBJS@
|
|
|
|
@@ -148,12 +148,12 @@ PERLREQ = macros.c insnsa.c insnsd.c ins
|
|
perlreq: $(PERLREQ)
|
|
|
|
install: nasm$(X) ndisasm$(X)
|
|
- $(MKDIR) -p $(INSTALLROOT)$(bindir)
|
|
- $(INSTALL_PROGRAM) nasm$(X) $(INSTALLROOT)$(bindir)/nasm$(X)
|
|
- $(INSTALL_PROGRAM) ndisasm$(X) $(INSTALLROOT)$(bindir)/ndisasm$(X)
|
|
- $(MKDIR) -p $(INSTALLROOT)$(mandir)/man1
|
|
- $(INSTALL_DATA) $(srcdir)/nasm.1 $(INSTALLROOT)$(mandir)/man1/nasm.1
|
|
- $(INSTALL_DATA) $(srcdir)/ndisasm.1 $(INSTALLROOT)$(mandir)/man1/ndisasm.1
|
|
+ $(BSD_INSTALL_PROGRAM_DIR) $(INSTALLROOT)$(bindir)
|
|
+ $(BSD_INSTALL_PROGRAM) nasm$(X) $(INSTALLROOT)$(bindir)/nasm$(X)
|
|
+ $(BSD_INSTALL_PROGRAM) ndisasm$(X) $(INSTALLROOT)$(bindir)/ndisasm$(X)
|
|
+ $(BSD_INSTALL_MAN_DIR) $(INSTALLROOT)$(mandir)/man1
|
|
+ $(BSD_INSTALL_MAN) $(srcdir)/nasm.1 $(INSTALLROOT)$(mandir)/man1/nasm.1
|
|
+ $(BSD_INSTALL_MAN) $(srcdir)/ndisasm.1 $(INSTALLROOT)$(mandir)/man1/ndisasm.1
|
|
|
|
clean:
|
|
$(RM) -f *.$(O) *.s *.i
|