aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-04-16 20:56:58 +0800
committerjedgar <jedgar@FreeBSD.org>2000-04-16 20:56:58 +0800
commitce60b76ccedff5e577db1742002e763d3666daf0 (patch)
treea94226bf0a34f0619d91c1ea61c653c6811fbcaa
parentef23dab29193c019815ca79a51ce1b17e5ee203d (diff)
downloadfreebsd-ports-gnome-ce60b76ccedff5e577db1742002e763d3666daf0.tar.gz
freebsd-ports-gnome-ce60b76ccedff5e577db1742002e763d3666daf0.tar.zst
freebsd-ports-gnome-ce60b76ccedff5e577db1742002e763d3666daf0.zip
Update MD5 checksum:
* Author rearranged the Makefile (and recompiled the linked objects contained within the DISTFILE) Update Makefile patch (patch-aa) to reflect the above changes Add 'clean' to ALL_TARGET so we do not link with the author's precompiled objects in the DISTFILE (FreeBSD's linker doesn't like Linux object files).
-rw-r--r--math/wmcalc/Makefile2
-rw-r--r--math/wmcalc/distinfo2
-rw-r--r--math/wmcalc/files/patch-aa15
3 files changed, 9 insertions, 10 deletions
diff --git a/math/wmcalc/Makefile b/math/wmcalc/Makefile
index 7b8ab7d8f61d..8e451ee18b32 100644
--- a/math/wmcalc/Makefile
+++ b/math/wmcalc/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= jedgar@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
-ALL_TARGET= wmcalc
+ALL_TARGET= clean wmcalc
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/wmcalc
diff --git a/math/wmcalc/distinfo b/math/wmcalc/distinfo
index 0c1fe7de2089..e98c3ddb85bf 100644
--- a/math/wmcalc/distinfo
+++ b/math/wmcalc/distinfo
@@ -1 +1 @@
-MD5 (wmcalc-0.1.tar.gz) = a4f5e639e115b2c20c8ee604cc0ce449
+MD5 (wmcalc-0.1.tar.gz) = c0f814ee45eac22cf659ca3107f6b9a1
diff --git a/math/wmcalc/files/patch-aa b/math/wmcalc/files/patch-aa
index 59b4345710bb..93d764e899c9 100644
--- a/math/wmcalc/files/patch-aa
+++ b/math/wmcalc/files/patch-aa
@@ -1,23 +1,22 @@
---- Makefile.orig Sat Nov 27 01:40:16 1999
-+++ Makefile Tue Mar 28 22:21:05 2000
+--- Makefile.orig Thu Apr 6 22:25:39 2000
++++ Makefile Sun Apr 16 08:50:18 2000
@@ -1,15 +1,15 @@
-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
--LIBS = -lX11 -lXpm -lXext
-+INCLUDES=-I${X11BASE}/include
-+LIBINC=-L${X11BASE}/lib
-+LIBS = -lX11 -lXpm -lXext -lm
++INCLUDES =-I${X11BASE}/include
++LIBINC =-L${X11BASE}/lib
+ LIBS = -lX11 -lXpm -lXext -lm
TARGET = wmcalc
OBJECTS = wmcalc.o readln.o wmcalcswitch.o wmcalcfunc.o
.c.o:
- gcc -O2 -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
-+ ${CC} ${CFLAGS} -c ${INCLUDES} ${FLAGS} $< -o $*.o
++ gcc ${CFLAGS} -c ${INCLUDES} ${FLAGS} $< -o $*.o
${TARGET}: ${OBJECTS}
- gcc -O2 -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
-+ ${CC} ${CFLAGS} -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
++ gcc ${CFLAGS} -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
clean::
for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done