You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
23 lines
528 B
Diff
23 lines
528 B
Diff
--- Makefile.orig 2015-09-20 09:07:55.000000000 -0500
|
|
+++ Makefile 2018-11-21 08:52:05.000000000 -0600
|
|
@@ -5,10 +5,10 @@
|
|
#
|
|
|
|
|
|
-C=gcc
|
|
+C=g++
|
|
CFLAGS=-c -Wall
|
|
-LDFLAGS= -lm -lstdc++
|
|
-SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h
|
|
+LDFLAGS= -lm
|
|
+SOURCES=sunwait.cpp sunriset.cpp print.cpp
|
|
OBJECTS=$(SOURCES:.cpp=.o)
|
|
EXECUTABLE=sunwait
|
|
|
|
@@ -24,4 +24,4 @@
|
|
rm -f *.o sunwait
|
|
|
|
install:
|
|
- install -D -m 755 sunwait $(DESTDIR)/usr/bin/sunwait
|
|
+ install -D -m 755 sunwait $(DESTDIR)%PREFIX%/bin/sunwait
|