diff options
Diffstat (limited to 'app-text/hd2u/files/hd2u-1.0.3-build.patch')
-rw-r--r-- | app-text/hd2u/files/hd2u-1.0.3-build.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app-text/hd2u/files/hd2u-1.0.3-build.patch b/app-text/hd2u/files/hd2u-1.0.3-build.patch new file mode 100644 index 000000000000..de788e8aa774 --- /dev/null +++ b/app-text/hd2u/files/hd2u-1.0.3-build.patch @@ -0,0 +1,25 @@ +diff --git a/Makefile.in b/Makefile.in +index 2a67b3c..651323d 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -42,7 +42,7 @@ LIBS= @LIBS@ + all: $(TARGET) + + $(TARGET): $(TARGET).c config.h +- $(CC) $(CFLAGS) -o $@ $(@:%=%.c) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(@:%=%.c) $(LIBS) + + + all-optimized: $(TARGET)-optimized +@@ -98,9 +98,10 @@ cleanall: clean + mrproper: cleanall + distclean: cleanall + ++BUILD_ROOT=$(DESTDIR) + install: + $(INSTALL) -d -m 755 $(BUILD_ROOT)$(BIN_DIR) +- $(INSTALL) -m 755 -s $(TARGET) $(BUILD_ROOT)$(BIN_DIR) ++ $(INSTALL) -m 755 $(TARGET) $(BUILD_ROOT)$(BIN_DIR) + + tarball: + $(INSTALL) -d -m 755 ./$(PACKAGE_NAME)-$(PACKAGE_VERSION) |