svn commit: r363406 - in head/mail/vqregister: . files
Adam Weinberger
adamw at FreeBSD.org
Tue Jul 29 22:47:45 UTC 2014
Author: adamw
Date: Tue Jul 29 22:47:44 2014
New Revision: 363406
URL: http://svnweb.freebsd.org/changeset/ports/363406
QAT: https://qat.redports.org/buildarchive/r363406/
Log:
Fix build without gcc.
Modified:
head/mail/vqregister/Makefile
head/mail/vqregister/files/patch-Makefile
Modified: head/mail/vqregister/Makefile
==============================================================================
--- head/mail/vqregister/Makefile Tue Jul 29 22:44:10 2014 (r363405)
+++ head/mail/vqregister/Makefile Tue Jul 29 22:47:44 2014 (r363406)
@@ -25,12 +25,8 @@ DOCS= CONFIG CONTRIBUTORS FORM HISTORY
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
Modified: head/mail/vqregister/files/patch-Makefile
==============================================================================
--- head/mail/vqregister/files/patch-Makefile Tue Jul 29 22:44:10 2014 (r363405)
+++ head/mail/vqregister/files/patch-Makefile Tue Jul 29 22:47:44 2014 (r363406)
@@ -6,10 +6,11 @@
-VDIR = /home/vpopmail
+VDIR?= /home/vpopmail
- CC = gcc
+-CC = gcc
++CC ?= gcc
BIN = vqregister
-DEFS = -I$(VDIR)/include -I/usr/local/mysql/include
-+DEFS = -I$(VDIR)/include -I${LOCALBASE}/include/mysql
++DEFS = -I$(VDIR)/include -I${LOCALBASE}/include/mysql ${CFLAGS}
LINKDEFS =
-LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/local/mysql/lib/mysql -lmysqlclient
+LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L${LOCALBASE}/lib/mysql -lmysqlclient
More information about the svn-ports-all
mailing list