diff options
Diffstat (limited to 'comms/lirc/Makefile')
-rw-r--r-- | comms/lirc/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile index 8bee112f7394..917ab9b1057e 100644 --- a/comms/lirc/Makefile +++ b/comms/lirc/Makefile @@ -23,6 +23,9 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" OPTIONS= IRMAN "Build with libirman support" On @@ -44,13 +47,6 @@ CONFIGURE_ARGS+= --with-driver=irman --with-driver=dvico CONFIGURE_ARGS+= --with-driver=any --with-driver=dvico .endif -.if ${OSVERSION} >= 500041 -# These are already included in the getopt_long case on < 50041 -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -.endif - MAN1= ircat.1 irexec.1 irpty.1 irrecord.1 irsend.1 irw.1 \ irxevent.1 lircrcd.1 mode2.1 smode2.1 xmode2.1 MAN8= lircd.8 lircmd.8 |