1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/audio/xamp/files/patch-ae
1999-02-04 16:22:41 +00:00

32 lines
697 B
Plaintext

--- Makefile.in.orig Wed Feb 11 07:37:20 1998
+++ Makefile.in Wed Feb 3 23:00:03 1999
@@ -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
@@ -59,7 +63,7 @@
cd pixmaps ; make
xamp: images $(OBJ)
- $(CC) -o xamp $(OBJ) $(LDFLAGS) $(LIBS)
+ $(CXX) -o xamp $(OBJ) $(LDFLAGS) $(LIBS)
install:
$(INSTALL) -m 755 xamp $(DESTDIR)