diff options
-rw-r--r-- | net/iscsi-target/Makefile | 1 | ||||
-rw-r--r-- | net/iscsi-target/files/patch-src-Makefile.in | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net/iscsi-target/Makefile b/net/iscsi-target/Makefile index 4d1396fb1d95..05ed2cffcf74 100644 --- a/net/iscsi-target/Makefile +++ b/net/iscsi-target/Makefile @@ -7,6 +7,7 @@ PORTNAME= iscsi PORTVERSION= 20080207 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/ \ http://www.magnesium.net/~mdf/distfiles/ diff --git a/net/iscsi-target/files/patch-src-Makefile.in b/net/iscsi-target/files/patch-src-Makefile.in new file mode 100644 index 000000000000..d3af6e1617e6 --- /dev/null +++ b/net/iscsi-target/files/patch-src-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2008-02-07 17:25:13.000000000 +0800 ++++ Makefile.in 2008-03-16 17:16:12.000000000 +0800 +@@ -20,7 +20,7 @@ + PTHREAD_LDFLAGS= -pthread + PTHREAD_LIBS= -lpthread + GCC_CFLAGS= -Wall -Wstrict-prototypes -fno-strict-aliasing -fno-common -Wno-trigraphs +-COMMON_CFLAGS += -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE ++COMMON_CFLAGS += -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DSYSCONFDIR=\"${SYSCONFDIR}\" + COMMON_CFLAGS += -DHAVE_CONFIG_H + COMMON_CFLAGS += -I${INCDIR} + CFLAGS= @CFLAGS@ ${GCC_CFLAGS} ${COMMON_CFLAGS} -I${INCLUDE} ${PTHREAD_FLAGS} |