diff options
Diffstat (limited to 'net/xmftp/patches/patch-aa')
-rw-r--r-- | net/xmftp/patches/patch-aa | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net/xmftp/patches/patch-aa b/net/xmftp/patches/patch-aa new file mode 100644 index 00000000000..a5ff7d1ad9e --- /dev/null +++ b/net/xmftp/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $ + +--- Makefile.orig Thu Aug 21 03:29:58 1997 ++++ Makefile +@@ -1,14 +1,13 @@ + # Where to install the xmftp binary +-INSTALL_BIN_DIR=/usr/local/bin ++INSTALL_BIN_DIR=$(PREFIX)/bin + + # If your libraries (see LIBS below) are located somewhere else, change this +-LFLAGS=-L/usr/X11R6/lib ++LFLAGS=$(LDFLAGS) + + # Shouldn't have to edit anything below this line + ########################################################################## + +-CC=gcc +-CFLAGS=-Wall ++CFLAGS+=-Wall + OBJ= ui/xmftp.o ui/build_menu.o ui/menu_creation.o ui/operations.o \ + ui/layout.o ui/setup_cbs.o program/misc.o \ + program/unix/implementation.o program/ftp.o \ +@@ -33,7 +32,7 @@ + echo "All done! You may do 'make install' now if you like."; \ + echo "" + +-xmftp: doobj ++xmftp: $(OBJ) + $(CC) $(CFLAGS) $(LFLAGS) -o xmftp $(OBJ) $(LIBS) + @echo ""; \ + echo "All done! You may do 'make install' now if you like."; \ |