* [gentoo-commits] gentoo-x86 commit in app-misc/logserial/files: logserial-0.4.2-gentoo.patch
@ 2009-07-21 16:41 Samuli Suominen (ssuominen)
0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2009-07-21 16:41 UTC (permalink / raw
To: gentoo-commits
ssuominen 09/07/21 16:41:09
Added: logserial-0.4.2-gentoo.patch
Log:
Fix Makefile to respect environment.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.1 app-misc/logserial/files/logserial-0.4.2-gentoo.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/logserial/files/logserial-0.4.2-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/logserial/files/logserial-0.4.2-gentoo.patch?rev=1.1&content-type=text/plain
Index: logserial-0.4.2-gentoo.patch
===================================================================
diff -ur logserial-0.4.2.orig/Makefile logserial-0.4.2/Makefile
--- logserial-0.4.2.orig/Makefile 2003-04-12 19:41:07.000000000 +0300
+++ logserial-0.4.2/Makefile 2009-07-21 19:39:18.000000000 +0300
@@ -5,22 +5,20 @@
# FUNCTION:
# Makefile for logserial
-CC=gcc
+CC ?= gcc
NAME=logserial
VERSION=0.4.2
OBJS= logserial.o sysdep1.o
-OPTIMIZE= -O3 -m486 -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
-DEBUG_FLAGS= #-g
-
-CFLAGS= $(DEBUG_FLAGS) $(OPTIMIZE)
+CFLAGS += -Wall
+CPPFLAGS += -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
all: $(NAME)
$(NAME): $(OBJS)
- $(CC) $(CFLAGS) -o $(NAME) $(OBJS)
+ $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $(NAME) $(OBJS)
$(NAME).o: $(NAME).c
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-21 16:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-21 16:41 [gentoo-commits] gentoo-x86 commit in app-misc/logserial/files: logserial-0.4.2-gentoo.patch Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox