summaryrefslogtreecommitdiff
path: root/textproc/convertlit/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2009-10-06 21:37:10 +0000
committerwiz <wiz>2009-10-06 21:37:10 +0000
commit75f69f499212f5f91910f715cc4265db75938199 (patch)
tree41a672a9b2e1b8407ba75e8aea28373db5c59e78 /textproc/convertlit/Makefile
parentf058e3469c0673c45f5a0daf02db2ce192492960 (diff)
downloadpkgsrc-75f69f499212f5f91910f715cc4265db75938199.tar.gz
Replace highly fought over patch with sed statement.
Diffstat (limited to 'textproc/convertlit/Makefile')
-rw-r--r--textproc/convertlit/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/convertlit/Makefile b/textproc/convertlit/Makefile
index 862b3574536..fd5e0d05836 100644
--- a/textproc/convertlit/Makefile
+++ b/textproc/convertlit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/09/03 13:39:39 hasso Exp $
+# $NetBSD: Makefile,v 1.9 2009/10/06 21:37:10 wiz Exp $
#
# In order to ensure compliance with U.S. and international law, please
# do not modify this file to provide pointers to the source or homepage
@@ -29,6 +29,13 @@ SUBST_MESSAGE.d2u= Stripping CRLF line ends.
SUBST_FILES.d2u+= *.h *.c */*.h */*.c */*/*.h */*/*.c
SUBST_FILTER_CMD.d2u= ${TR} -d '\r'
+SUBST_CLASSES+= flags
+SUBST_STAGE.flags= pre-configure
+SUBST_MESSAGE.flags= Fixing CFLAGS and compiler invocation.
+SUBST_FILES.flags+= clit18/Makefile
+SUBST_SED.flags+= -e 's,^CFLAGS=.*,CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .,'
+SUBST_SED.flags+= -e 's,gcc -o clit .. ../libtommath-0.30/libtommath.a,gcc $$(LDFLAGS) -o clit $$^ -ltommath,'
+
RESTRICTED= Possible legal problems
NO_SRC_ON_FTP= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}