diff options
author | sanpei <sanpei@FreeBSD.org> | 2013-10-19 19:21:57 +0800 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2013-10-19 19:21:57 +0800 |
commit | 3a62fb3cc61801ee6a53fe72bf82c65d976e1525 (patch) | |
tree | 980f242c5332834588c7336c610575b926ac60d0 | |
parent | 2ca3f19ce4d9e4ff2e1fbc7a9268bfc0496afb45 (diff) | |
download | freebsd-ports-gnome-3a62fb3cc61801ee6a53fe72bf82c65d976e1525.tar.gz freebsd-ports-gnome-3a62fb3cc61801ee6a53fe72bf82c65d976e1525.tar.zst freebsd-ports-gnome-3a62fb3cc61801ee6a53fe72bf82c65d976e1525.zip |
fix build error 10-current and use cc
-rw-r--r-- | deskutils/cal/Makefile | 2 | ||||
-rw-r--r-- | deskutils/cal/files/patch-aa | 32 |
2 files changed, 17 insertions, 17 deletions
diff --git a/deskutils/cal/Makefile b/deskutils/cal/Makefile index 72e39cc79086..431d58a4aecd 100644 --- a/deskutils/cal/Makefile +++ b/deskutils/cal/Makefile @@ -10,8 +10,6 @@ MASTER_SITE_SUBDIR= utils/shell MAINTAINER= sanpei@FreeBSD.org COMMENT= Enhanced color version of standard calendar utility -USE_GCC= any - WRKSRC= ${WRKDIR}/cal-3.5/source MAKEFILE= makefile.unx ALL_TARGET= cal diff --git a/deskutils/cal/files/patch-aa b/deskutils/cal/files/patch-aa index c4e647ffac84..c8fe1c52d76d 100644 --- a/deskutils/cal/files/patch-aa +++ b/deskutils/cal/files/patch-aa @@ -1,15 +1,17 @@ -*** makefile.unx.orig Tue Mar 5 06:36:27 1996 ---- makefile.unx Mon May 12 15:23:42 1997 -*************** -*** 10,15 **** ---- 10,19 ---- - CC=gcc - CFLAGS=-O -Wall -DUNIX -DUSE_REMINDER - -+ .ifdef PREFIX -+ CFLAGS+=-DPREFIX="\"${PREFIX}\"" -+ .endif -+ - BINDIR=/usr/bin - MANDIR=/usr/man - +--- source/makefile.unx.orig 1996-03-05 06:36:27.000000000 +0900 ++++ source/makefile.unx 2013-10-19 20:15:02.149614385 +0900 +@@ -7,9 +7,13 @@ + # To use, enter "make -f makefile.unx" + + RM=rm -f +-CC=gcc ++CC=cc + CFLAGS=-O -Wall -DUNIX -DUSE_REMINDER + ++.ifdef PREFIX ++CFLAGS+=-DPREFIX="\"${PREFIX}\"" ++.endif ++ + BINDIR=/usr/bin + MANDIR=/usr/man + |