freebsd-ports/textproc/rotix/files/patch-Makefile
Peter Pentchev 32a8a313ac Update to 0.82.
PR:		36134
Submitted by:	maintainer
2002-03-20 16:12:35 +00:00

26 lines
616 B
Plaintext

--- Makefile.orig Thu Jan 17 16:43:08 2002
+++ Makefile Wed Mar 20 04:43:31 2002
@@ -25,11 +25,11 @@
ifdef DEBUG
CFLAGS = -g3
else
-CFLAGS = -O3
+CFLAGS = %%CFLAGS%%
endif
ifdef I18N
-CFLAGS += -DPACKAGE=\"${PACKAGE}\" -D LOCALEDIR=\"${LOCALE}\"
+CFLAGS += -DPACKAGE=\"${PACKAGE}\" -D LOCALEDIR=\"${LOCALE}\" -I%%LOCALBASE%%/include
endif
ifdef NO_GETOPT_LONG
@@ -39,7 +39,7 @@
all : rotix po
rotix : rot.o help.o rotix.o
- $(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o
+ $(CC) -Wall $(CFLAGS) -o rotix rot.o help.o rotix.o -L%%LOCALBASE%%/lib -lintl
ifdef STRIP
ifndef DEBUG
$(STRIP) rotix