--- Makefile.in.orig Tue Feb 10 16:37:20 1998 +++ Makefile.in Sun Sep 27 20:24:53 1998 @@ -14,7 +14,8 @@ DEFINES = -DOS_@OS_TYPE@ -DARCH_@ARCH_TYPE@ CFLAGS = @CFLAGS@ ${DEFINES} ${DEBUG} ${BACK} LDFLAGS = @LDFLAGS@ -INSTALL= @INSTALL@ +INSTALL= @INSTALL@ -s +DESTDIR= ${PREFIX}/bin # # uncomment both of these if you want profiling support @@ -38,6 +39,9 @@ backs/backs.o LIBS = @QT_LDFLAGS@ -lm -lqt +ifeq ($(PORTOBJFORMAT),elf) +LIBS+= -Wl,-rpath,$(X11BASE)/lib +endif all: xamp