Ticket #29123: AntTweakBar-install_name.diff
File AntTweakBar-install_name.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
files/ATB_114_mac.patch
17 17 #LFLAGS = -arch i386 -arch x86_64 18 18 #OUT_DIR = ../lib/debug 19 19 20 +PREFIX = usr/local/21 +DESTDIR = /20 +PREFIX = /usr/local 21 +DESTDIR = 22 22 + 23 23 #BASE = /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks 24 24 CXX = gcc … … 35 35 +install: $(TARGET) Makefile 36 36 + mkdir -p $(DESTDIR)$(PREFIX)/lib/ 37 37 + $(COPY) $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(DESTDIR)$(PREFIX)/lib/ 38 + mkdir -p $(DESTDIR)$(PREFIX) include/38 + mkdir -p $(DESTDIR)$(PREFIX)/include/ 39 39 + $(COPY) ../include/AntTweakBar.h $(DESTDIR)$(PREFIX)/include/ 40 40 41 41 $(TARGET): $(OBJS) 42 42 @echo "===== Link $@ =====" 43 43 - $(LINK) $(LFLAGS) -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(OBJS) $(LIBS) 44 + $(LINK) $(LFLAGS) -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(OBJS) $(LIBS) -install_name /$(PREFIX)/lib/lib$(TARGET)$(SO_EXT)44 + $(LINK) $(LFLAGS) -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o $(OUT_DIR)/lib$(TARGET)$(SO_EXT) $(OBJS) $(LIBS) -install_name $(PREFIX)/lib/lib$(TARGET)$(SO_EXT) 45 45 46 46 .cpp.o: 47 47 @echo "===== Compile $< =====" -
Portfile
3 3 PortSystem 1.0 4 4 name AntTweakBar 5 5 version 1.14 6 revision 1 6 7 categories graphics 7 8 maintainers karcaw@gmail.com 8 9 description Graphics Library for graphical user interface