aboutsummaryrefslogtreecommitdiffstats
path: root/comms/lirc/files
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-02-11 10:14:30 +0800
committerlinimon <linimon@FreeBSD.org>2004-02-11 10:14:30 +0800
commit9d7b2f264dcb42318a4e1f5e4b7e9a5a670eb4fe (patch)
tree486a749b26a15509a1100bb6451a5fcde7c112b1 /comms/lirc/files
parentd0215a2dc9b27e912f1b70835493ffba4da3186f (diff)
downloadfreebsd-ports-gnome-9d7b2f264dcb42318a4e1f5e4b7e9a5a670eb4fe.tar.gz
freebsd-ports-gnome-9d7b2f264dcb42318a4e1f5e4b7e9a5a670eb4fe.tar.zst
freebsd-ports-gnome-9d7b2f264dcb42318a4e1f5e4b7e9a5a670eb4fe.zip
Respect CFLAGS; utilize USE_GETOPT_LONG; utilize USE_LIBTOOL.
PR: ports/59842 Submitted by: Ports Fury Approved by: maintainer timeout (6 weeks)
Diffstat (limited to 'comms/lirc/files')
-rw-r--r--comms/lirc/files/patch-ab40
-rw-r--r--comms/lirc/files/patch-configure19
2 files changed, 19 insertions, 40 deletions
diff --git a/comms/lirc/files/patch-ab b/comms/lirc/files/patch-ab
deleted file mode 100644
index 6ddcda7b022c..000000000000
--- a/comms/lirc/files/patch-ab
+++ /dev/null
@@ -1,40 +0,0 @@
---- daemons/Makefile.in.orig Sun Oct 6 05:24:53 2002
-+++ daemons/Makefile.in Sat Jan 4 21:28:01 2003
-@@ -231,7 +231,7 @@
- DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
- CPPFLAGS = @CPPFLAGS@
- LDFLAGS = @LDFLAGS@
--LIBS = @LIBS@
-+LIBS = @LIBS@ -L$(LOCALBASE)/lib -lgnugetopt
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/config_file.Po \
- @AMDEP_TRUE@ $(DEPDIR)/dump_config.Po $(DEPDIR)/hw-types.Po \
-@@ -265,7 +265,7 @@
- CCLD = $(CC)
- LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
--CFLAGS = @CFLAGS@
-+CFLAGS = @CFLAGS@ -I$(LOCALBASE)/include
- DIST_SOURCES = $(irrecord_SOURCES) $(EXTRA_irrecord_SOURCES) \
- $(lircd_SOURCES) $(EXTRA_lircd_SOURCES) $(lircd_simrec_SOURCES) \
- $(lircd_simsend_SOURCES) $(lircmd_SOURCES) $(slinke_SOURCES)
---- tools/Makefile.in.orig Sat Jan 4 22:02:21 2003
-+++ tools/Makefile.in Sat Jan 4 22:03:09 2003
-@@ -192,7 +192,7 @@
- DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
- CPPFLAGS = @CPPFLAGS@
- LDFLAGS = @LDFLAGS@
--LIBS = @LIBS@
-+LIBS = @LIBS@ -L$(LOCALBASE)/lib -lgnugetopt
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/ircat.Po $(DEPDIR)/irexec.Po \
- @AMDEP_TRUE@ $(DEPDIR)/irpty.Po $(DEPDIR)/irw.Po \
-@@ -206,7 +206,7 @@
- CCLD = $(CC)
- LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(AM_LDFLAGS) $(LDFLAGS) -o $@
--CFLAGS = @CFLAGS@
-+CFLAGS = @CFLAGS@ -I$(LOCALBASE)/include
- DIST_SOURCES = $(liblirc_client_la_SOURCES) $(ircat_SOURCES) \
- $(irexec_SOURCES) $(irpty_SOURCES) $(irw_SOURCES) \
- $(irxevent_SOURCES) $(mode2_SOURCES) $(rc_SOURCES) \
diff --git a/comms/lirc/files/patch-configure b/comms/lirc/files/patch-configure
new file mode 100644
index 000000000000..aeda4d1cc128
--- /dev/null
+++ b/comms/lirc/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Sun Oct 6 18:22:41 2002
++++ configure Sun Nov 30 23:26:58 2003
+@@ -1495,8 +1495,6 @@
+
+ ac_config_headers="$ac_config_headers config.h"
+
+-CFLAGS="-O2 -g -Wall"
+-
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -6753,6 +6751,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'