summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2005-02-12 01:36:04 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2005-02-12 01:36:04 +0000
commit2a73e482e19474720a4547e49392e26538b6d820 (patch)
tree3d53716bd466dd1eb6b38bb62edb385063a1fad0 /print
parentSDK is now buildable. (diff)
Fix configure script: don't skip AC_PROG_CC or bad things will happen.
Notes
Notes: svn path=/head/; revision=128579
Diffstat (limited to 'print')
-rw-r--r--print/enscript-letter/Makefile3
-rw-r--r--print/enscript-letter/files/patch-configure21
2 files changed, 21 insertions, 3 deletions
diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile
index 43864954a087..f81abd21d6da 100644
--- a/print/enscript-letter/Makefile
+++ b/print/enscript-letter/Makefile
@@ -15,9 +15,6 @@ DISTNAME= enscript-${PORTVERSION}
MAINTAINER?= ports@FreeBSD.org
COMMENT= ASCII to PostScript filter
-# Work around configure issue
-CC=
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-media=${PS}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
diff --git a/print/enscript-letter/files/patch-configure b/print/enscript-letter/files/patch-configure
new file mode 100644
index 000000000000..c8d4fc9b0ad9
--- /dev/null
+++ b/print/enscript-letter/files/patch-configure
@@ -0,0 +1,21 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -1793,7 +1793,6 @@
+
+ fi;
+
+-if test "X$CC" = "X"; then
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -2816,7 +2815,6 @@
+ fi
+
+
+-fi
+
+
+