diff options
author | joerg <joerg@pkgsrc.org> | 2019-12-21 23:44:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2019-12-21 23:44:45 +0000 |
commit | 696d4606cc81acbd8f720197af74cb2be901a95d (patch) | |
tree | 5e19a208f7c436548207c355795ec4852b0dce61 /misc | |
parent | 64a308851e19bbb8feedff12fcde50da60906044 (diff) | |
download | pkgsrc-696d4606cc81acbd8f720197af74cb2be901a95d.tar.gz |
Don't build header files.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/sunwait/distinfo | 4 | ||||
-rw-r--r-- | misc/sunwait/patches/patch-Makefile | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/misc/sunwait/distinfo b/misc/sunwait/distinfo index 7690ae2c395..45d0e4e7d41 100644 --- a/misc/sunwait/distinfo +++ b/misc/sunwait/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.1 2019/01/16 14:43:22 martin Exp $ +$NetBSD: distinfo,v 1.2 2019/12/21 23:44:45 joerg Exp $ SHA1 (sunwait-0.8.tar.gz) = eed1453e288d03d200d4f74634324a343434f426 RMD160 (sunwait-0.8.tar.gz) = ffad86c063eac4952141016fde056056d44963b4 SHA512 (sunwait-0.8.tar.gz) = 974aec925e08d42f6b9d617cd033ab21af314b04a0bab100f9b473e038df7eb65a86de2240ef2d5308af5385c929607d591c6f7b738925622e38040af6368166 Size (sunwait-0.8.tar.gz) = 20302 bytes -SHA1 (patch-Makefile) = 63276adb2587a251d9bb896ec82cd5ba6b3d6c07 +SHA1 (patch-Makefile) = a3ba723c2868ce7628f5bc4b93633a3abacd5c56 SHA1 (patch-sunriset.cpp) = 759aa1f2c0301f8fab3a264167d25a077ed205ee SHA1 (patch-sunwait.cpp) = cf5b2251a4b0de5e95cdbd06a432824b623df42b diff --git a/misc/sunwait/patches/patch-Makefile b/misc/sunwait/patches/patch-Makefile index 6e21da2f29c..16d344e1057 100644 --- a/misc/sunwait/patches/patch-Makefile +++ b/misc/sunwait/patches/patch-Makefile @@ -1,4 +1,4 @@ -$NetBSD: patch-Makefile,v 1.1 2019/01/16 14:43:22 martin Exp $ +$NetBSD: patch-Makefile,v 1.2 2019/12/21 23:44:45 joerg Exp $ - Use CC instead of C to specify the C compiler and do not hardcode gcc - Honors user's {C,LD}FLAGS @@ -6,17 +6,17 @@ $NetBSD: patch-Makefile,v 1.1 2019/01/16 14:43:22 martin Exp $ --- Makefile.orig 2015-09-20 14:07:55.000000000 +0000 +++ Makefile -@@ -5,23 +5,29 @@ +@@ -5,23 +5,28 @@ # -C=gcc -CFLAGS=-c -Wall -LDFLAGS= -lm -lstdc++ -+CC=c++ -+CFLAGS+=-c -Wall -D__linux__ -+LDFLAGS+= -lm -lstdc++ - SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h ++CFLAGS+=-c -Wall ++LDFLAGS+= -lm +-SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h ++SOURCES=sunwait.cpp sunriset.cpp print.cpp OBJECTS=$(SOURCES:.cpp=.o) EXECUTABLE=sunwait @@ -29,11 +29,11 @@ $NetBSD: patch-Makefile,v 1.1 2019/01/16 14:43:22 martin Exp $ $(EXECUTABLE): $(OBJECTS) - $(C) $(OBJECTS) -o $@ $(LDFLAGS) -+ $(CC) $(OBJECTS) -o $@ $(LDFLAGS) ++ $(CXX) $(OBJECTS) -o $@ $(LDFLAGS) .cpp.o: - $(C) $(CFLAGS) $< -o $@ -+ $(CC) $(CFLAGS) $< -o $@ ++ $(CXX) -c $(CFLAGS) $< -o $@ clean: rm -f *.o sunwait |