diff options
author | jmz <jmz@FreeBSD.org> | 2002-12-28 21:48:38 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2002-12-28 21:48:38 +0000 |
commit | 137390c696e4a5c03003b6e48a19e46534dc86da (patch) | |
tree | b5999fc96b8f9b4d42c0e2562d4931c88e471f6d | |
parent | edab086546d330e0778484b74ef0b61803de2197 (diff) | |
download | FreeBSD-ports-137390c696e4a5c03003b6e48a19e46534dc86da.zip FreeBSD-ports-137390c696e4a5c03003b6e48a19e46534dc86da.tar.gz |
Fix compilation on -current
-rw-r--r-- | sysutils/cd-write/Makefile | 1 | ||||
-rw-r--r-- | sysutils/cd-write/files/patch-5 | 5 | ||||
-rw-r--r-- | sysutils/cd-write/files/patch-8 | 10 |
3 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/cd-write/Makefile b/sysutils/cd-write/Makefile index ca6953a..a8016a8 100644 --- a/sysutils/cd-write/Makefile +++ b/sysutils/cd-write/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= jmz MAINTAINER= jmz@FreeBSD.org LIB_DEPENDS= tixsam4182.1:${PORTSDIR}/x11-toolkits/tix +USE_PERL5_BUILD= yes WRKSRC= ${WRKDIR}/cd-write diff --git a/sysutils/cd-write/files/patch-5 b/sysutils/cd-write/files/patch-5 index eccab39..c7b4e90 100644 --- a/sysutils/cd-write/files/patch-5 +++ b/sysutils/cd-write/files/patch-5 @@ -1,5 +1,5 @@ --- Makefile.orig Thu Jan 21 22:31:25 1999 -+++ Makefile Sun Dec 5 16:58:55 1999 ++++ Makefile Sat Dec 28 22:43:03 2002 @@ -1,10 +1,10 @@ OBJS= main.o iso9660.o copy.o write.o misc.o generic.o specific.o worm.o dao.o @@ -7,8 +7,9 @@ +CFLAGS = -g -O -Ic++tk -DTIX -DMKISOFS='"${PREFIX}/bin/mkisofs"' cd-write: $(OBJS) subdir - $(CC) -o cd-write $(OBJS) c++tk/c++tk.o\ +- $(CC) -o cd-write $(OBJS) c++tk/c++tk.o\ - -L/usr/local/lib -L/usr/X11R6/lib -ltixsam4180 -ltk80 -ltcl80 -lX11 -lm -lcam ++ $(CXX) -o cd-write $(OBJS) c++tk/c++tk.o\ + -L${PREFIX}/lib -L${X11BASE}/lib -ltixsam4182 -ltk82 -ltcl82 -lX11 -lm -lcam subdir: diff --git a/sysutils/cd-write/files/patch-8 b/sysutils/cd-write/files/patch-8 new file mode 100644 index 0000000..6ae1ed2 --- /dev/null +++ b/sysutils/cd-write/files/patch-8 @@ -0,0 +1,10 @@ +--- generic.cc~ Sat Jan 23 00:31:38 1999 ++++ generic.cc Sat Dec 28 16:48:21 2002 +@@ -32,6 +32,7 @@ + #include <cam/scsi/scsi_message.h> + #include <string.h> + #include <sys/cdio.h> ++#include <arpa/inet.h> + #include <machine/endian.h> + + #include "cd-write.h" |