freebsd-ports/sysutils/usrinfo/files/patch-Makefile
Raphael Kubo da Costa 0189170aed - Fix the build when g++ is not present.
- Respect CXXFLAGS.
- Unconditionally set MAINTAINER.
- Set LICENSE.
- Support staging.
2014-01-06 15:23:11 +00:00

12 lines
360 B
Text

--- Makefile.orig 2004-06-24 22:59:34.000000000 +0300
+++ Makefile 2014-01-06 17:17:10.000000000 +0200
@@ -1,7 +1,7 @@
all: usrinfo.o
- g++ -o usrinfo usrinfo.o
+ $(CXX) $(CXXFLAGS) -o usrinfo usrinfo.o
usrinfo.o: source/usrinfo.cpp
- g++ -c source/usrinfo.cpp
+ $(CXX) $(CXXFLAGS) -c source/usrinfo.cpp
clean:
rm -f *.o usrinfo
install: usrinfo