diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2004-02-11 02:14:30 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2004-02-11 02:14:30 +0000 |
commit | d00fb69ce5397fb7f5e75a0ee897ae47b43b14d1 (patch) | |
tree | bd1d6ba97d7ecc3f5fb9c9db57fed1e946ffd437 /comms | |
parent | Move lang/g95 -> lang/gfortran (diff) |
Respect CFLAGS; utilize USE_GETOPT_LONG; utilize USE_LIBTOOL.
PR: ports/59842
Submitted by: Ports Fury
Approved by: maintainer timeout (6 weeks)
Notes
Notes:
svn path=/head/; revision=100616
Diffstat (limited to 'comms')
-rw-r--r-- | comms/lirc/Makefile | 10 | ||||
-rw-r--r-- | comms/lirc/files/patch-ab | 40 | ||||
-rw-r--r-- | comms/lirc/files/patch-configure | 19 |
3 files changed, 24 insertions, 45 deletions
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile index 5679c5d7d7a4..8797548448fb 100644 --- a/comms/lirc/Makefile +++ b/comms/lirc/Makefile @@ -7,7 +7,7 @@ PORTNAME= lirc PORTVERSION= 0.6.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lirc @@ -15,12 +15,12 @@ MASTER_SITE_SUBDIR= lirc MAINTAINER= mikeh@FreeBSD.org COMMENT= Linux Infared Remote Control -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt - USE_XLIB= yes +USE_GETOPT_LONG= yes USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-driver=any --disable-manage-devices +USE_LIBTOOL= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-driver=any --disable-manage-devices MAN1= irexec.1 ircat.1 irpty.1 irrecord.1 irw.1 irxevent.1 \ mode2.1 smode2.1 xmode2.1 rc.1 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' |