aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2005-02-12 09:36:04 +0800
committernaddy <naddy@FreeBSD.org>2005-02-12 09:36:04 +0800
commit48ba48547177977640736835cd04e0c9cc4dfe1f (patch)
treefa29dc98078ee994d9ce801f5d2a09829aa1040a /print
parent5af02a921d6fe63fccd547c8b28448a2e3dacd89 (diff)
downloadfreebsd-ports-gnome-48ba48547177977640736835cd04e0c9cc4dfe1f.tar.gz
freebsd-ports-gnome-48ba48547177977640736835cd04e0c9cc4dfe1f.tar.zst
freebsd-ports-gnome-48ba48547177977640736835cd04e0c9cc4dfe1f.zip
Fix configure script: don't skip AC_PROG_CC or bad things will happen.
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
+
+
+