diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/ptabtools/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/ptabtools/files')
-rw-r--r-- | media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch b/media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch new file mode 100644 index 000000000000..72c72a58599b --- /dev/null +++ b/media-sound/ptabtools/files/ptabtools-0.5.0-makefile.patch @@ -0,0 +1,27 @@ +--- ptabtools-0.5.0/Makefile.orig ++++ ptabtools-0.5.0/Makefile +@@ -8,13 +8,13 @@ + all: $(TARGETS) + + tests/check: tests/check.o tests/ptb.o tests/gp.o ptb.o +- $(CC) $(FLAGS) $^ -o $@ $(CHECK_LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(CHECK_LIBS) + + ptb2xml.o: ptb2xml.c + $(CC) $(CFLAGS) -c $< $(LIBXSLT_CFLAGS) $(LIBXML_CFLAGS) $(XSLT_DEFINE) + + %.o: %.c +- $(CC) $(CFLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) -I. -c $< -o $@ + + %.po: %.c + $(CC) $(CFLAGS) -fPIC -c $< -o $@ +@@ -23,7 +23,7 @@ + $(CC) $(SHFLAGS) $(CFLAGS) -Wl,--out-implib=ptb.dll.a -o $@ $^ + + libptb.so.$(VERSION): $(PTBLIB_OBJS:.o=.po) +- $(CC) $(SHFLAGS) -Wl,-soname,libptb.so.$(SOVERSION) -Wl,$@ $(CFLAGS) -o $@ $^ ++ $(CC) $(SHFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ + + libptb.a: $(PTBLIB_OBJS) + $(AR) rs $@ $^ |