termux-packages/packages/dos2unix/Makefile.patch
2016-04-18 00:51:30 -04:00

31 lines
783 B
Diff

diff -u -r ../dos2unix-7.3.3/Makefile ./Makefile
--- ../dos2unix-7.3.3/Makefile 2016-02-13 08:27:27.000000000 -0500
+++ ./Makefile 2016-04-17 23:43:06.280624377 -0400
@@ -50,7 +50,7 @@
UNIX2MAC = unix2mac
# Native Language Support (NLS)
-ENABLE_NLS = 1
+# ENABLE_NLS = 1
# Large File Support (LFS)
LFS = 1
# DEBUG=1 adds the -g option to CFLAGS, for adding debug symbols.
@@ -73,7 +73,7 @@
LINK = ln -sf
LINK_MAN = $(LINK)
-prefix = /usr
+prefix = @TERMUX_PREFIX@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datarootdir = $(prefix)/share
@@ -350,8 +350,6 @@
EXTRA_CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
endif
-LDFLAGS_USER =
-LDFLAGS = $(RPM_OPT_FLAGS) $(LDFLAGS_EXTRA) $(LDFLAGS_USER)
LIBS = $(LIBS_EXTRA)
DEFS_USER =