diff options
-rw-r--r-- | mail/vqregister/Makefile | 8 | ||||
-rw-r--r-- | mail/vqregister/files/patch-Makefile | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/mail/vqregister/Makefile b/mail/vqregister/Makefile index 0973f072246c..657ea672d898 100644 --- a/mail/vqregister/Makefile +++ b/mail/vqregister/Makefile @@ -25,12 +25,8 @@ DOCS= CONFIG CONTRIBUTORS FORM HISTORY TEMPLATE 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> diff --git a/mail/vqregister/files/patch-Makefile b/mail/vqregister/files/patch-Makefile index 5c0e82cdc6a1..733117424fbc 100644 --- a/mail/vqregister/files/patch-Makefile +++ b/mail/vqregister/files/patch-Makefile @@ -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 |