diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-12 07:59:40 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-12 07:59:40 +0000 |
commit | 5219f2d83fcde4ba27d7a1556cf7258b3884b552 (patch) | |
tree | 8d381adade273d2b08cc60d6da0f9d0c5dedb41f /sysutils/dvdtape | |
parent | e5d59d4fc139643d17f7ed357df843d5bc5b9161 (diff) | |
download | ports-5219f2d83fcde4ba27d7a1556cf7258b3884b552.tar.gz ports-5219f2d83fcde4ba27d7a1556cf7258b3884b552.zip |
Notes
Diffstat (limited to 'sysutils/dvdtape')
-rw-r--r-- | sysutils/dvdtape/Makefile | 3 | ||||
-rw-r--r-- | sysutils/dvdtape/files/patch-aa | 32 |
2 files changed, 19 insertions, 16 deletions
diff --git a/sysutils/dvdtape/Makefile b/sysutils/dvdtape/Makefile index ac811922ef02..5fe67ad72906 100644 --- a/sysutils/dvdtape/Makefile +++ b/sysutils/dvdtape/Makefile @@ -17,7 +17,8 @@ MASTER_SITE_SUBDIR= utils/disk-management MAINTAINER= ports@FreeBSD.org COMMENT= Create DVD master filesystems on DLT media -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +USE_GETOPT_LONG= yes +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= dvdtape.1 diff --git a/sysutils/dvdtape/files/patch-aa b/sysutils/dvdtape/files/patch-aa index a63758638570..d13d18790e63 100644 --- a/sysutils/dvdtape/files/patch-aa +++ b/sysutils/dvdtape/files/patch-aa @@ -1,26 +1,28 @@ ---- Makefile.orig Wed Nov 10 00:01:10 1999 -+++ Makefile Sun Jun 10 18:30:24 2001 -@@ -1,8 +1,10 @@ +--- Makefile.orig Wed Nov 10 09:01:10 1999 ++++ Makefile Tue May 6 13:01:15 2003 +@@ -1,8 +1,9 @@ -prefix=/usr --BINDIR=${prefix}/bin --MANDIR=${prefix}/man -- ++prefix=${PREFIX} + BINDIR=${prefix}/bin + MANDIR=${prefix}/man + -CFLAGS=-O2 -D_FILE_OFFSET_BITS=64 -Wall -+BINDIR= ${PREFIX}/bin -+MANDIR= ${PREFIX}/man -+CC ?=gcc -+CFLAGS+= -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include -+LD =${CC} -+LDFLAGS=-L${LOCALBASE}/lib -+LIBS= -lgnugetopt ++CFLAGS+=${CPPFLAGS} ++LD=${CC} PROGRAM=dvdtape OBJECTS=dvdtape.o isosize.o -@@ -10,6 +12,7 @@ +@@ -10,10 +11,11 @@ all: $(PROGRAM) $(PROGRAM): $(OBJECTS) + $(LD) $(LDFLAGS) -o ${PROGRAM} $(OBJECTS) $(LIBS) install: all - install $(PROGRAM) $(BINDIR) +- install $(PROGRAM) $(BINDIR) +- install $(PROGRAM).1 $(MANDIR)/man1/ ++ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(BINDIR) ++ ${BSD_INSTALL_MAN} $(PROGRAM).1 $(MANDIR)/man1/ + + clean: + -rm -f $(PROGRAM) *.o *~ |