diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-04-13 18:39:36 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-04-13 18:39:36 +0000 |
commit | 663231a0362ed33ae5737f2e227960219beddb1c (patch) | |
tree | 3f92b1a7f894cfcd3354e3453cf9a979eee1c7e5 | |
parent | 5af56d68d712bacb64c0c6fc4c093cfe3dee3508 (diff) | |
download | ports-663231a0362ed33ae5737f2e227960219beddb1c.tar.gz ports-663231a0362ed33ae5737f2e227960219beddb1c.zip |
Notes
-rw-r--r-- | mail/qsf/Makefile | 9 | ||||
-rw-r--r-- | mail/qsf/files/patch-link.mk | 14 | ||||
-rw-r--r-- | mail/qsf/files/patch-vars.mk | 11 |
3 files changed, 31 insertions, 3 deletions
diff --git a/mail/qsf/Makefile b/mail/qsf/Makefile index ae4f9d097f6b..a0a3a9117e5d 100644 --- a/mail/qsf/Makefile +++ b/mail/qsf/Makefile @@ -7,6 +7,7 @@ PORTNAME= qsf PORTVERSION= 1.0.18 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= qsf @@ -18,6 +19,8 @@ GNU_CONFIGURE= yes USE_BZIP2= yes USE_REINPLACE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + MAN1= qsf.1 MANCOMPRESSED= yes PLIST_FILES= bin/qsf @@ -30,17 +33,17 @@ OPTIONS= GDBM "GDBM support" off \ .if defined(WITH_GDBM) LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm -CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE} +CONFIGURE_ARGS+= --with-gdbm .endif .if defined(WITH_MYSQL) USE_MYSQL= yes -CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} +CONFIGURE_ARGS+= --with-mysql .endif .if defined(WITH_SQLITE2) LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2 -CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE} +CONFIGURE_ARGS+= --with-sqlite .endif # not supported yet. diff --git a/mail/qsf/files/patch-link.mk b/mail/qsf/files/patch-link.mk new file mode 100644 index 000000000000..10a46f1796d4 --- /dev/null +++ b/mail/qsf/files/patch-link.mk @@ -0,0 +1,14 @@ +--- autoconf/make/link.mk.orig Wed Apr 13 21:33:54 2005 ++++ autoconf/make/link.mk Wed Apr 13 21:34:15 2005 +@@ -6,9 +6,9 @@ + mainobjs := src/main.o src/md5.o src/library.o src/db.o src/message.o src/mailbox.o src/spam.o src/tests.o + + $(package): $(mainobjs) +- $(CC) $(CFLAGS) -o $@ $(mainobjs) $(LIBS) ++ $(CC) $(CFLAGS) -o $@ $(mainobjs) ${LDFLAGS} $(LIBS) + + $(package)-static: $(mainobjs) +- $(CC) $(CFLAGS) -static -o $@ $(mainobjs) $(LIBS) ++ $(CC) $(CFLAGS) -static -o $@ $(mainobjs) ${LDFLAGS} $(LIBS) + + # EOF diff --git a/mail/qsf/files/patch-vars.mk b/mail/qsf/files/patch-vars.mk new file mode 100644 index 000000000000..11f532a628a4 --- /dev/null +++ b/mail/qsf/files/patch-vars.mk @@ -0,0 +1,11 @@ +--- autoconf/make/vars.mk.orig Wed Apr 13 21:33:12 2005 ++++ autoconf/make/vars.mk Wed Apr 13 21:35:10 2005 +@@ -24,7 +24,7 @@ + INSTALL_DATA = @INSTALL_DATA@ + UNINSTALL = rm -f + +-LDFLAGS = -r ++LDFLAGS = -r @LDFLAGS@ + DEFS = @DEFS@ + CFLAGS = @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ -I$(srcdir)/src/include -Isrc/include $(DEFS) |