Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2000 13:40:48 -0400
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        ports@freebsd.org
Subject:   basic ports question
Message-ID:  <20001003134048.A68307@blackhelicopters.org>

next in thread | raw e-mail | index | archive | help

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

I'm considering writing an article about modifying existing ports to
add new functions.

Could some kind person take a look at the attached patch to
security/snort/Makefile, and tell me if this is the proper approach?

If so, I'll send-pr it.

Thanks,
Michael

-- 
Michael Lucas
mwlucas@blackhelicopters.org
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mysql.diff"

*** Makefile.orig	Sat Sep  2 13:23:40 2000
--- Makefile	Tue Oct  3 13:22:05 2000
***************
*** 13,20 ****
--- 13,29 ----
  
  MAINTAINER=	dirk@FreeBSD.org
  
+ .if defined(USE_MYSQL)
+ LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
+ .endif
+ 
  GNU_CONFIGURE=	yes
  MAN8=		snort.8
+ 
+ .if defined(USE_MYSQL)
+ CONFIGURE_ARGS+= --with-mysql-includes=${LOCALBASE}/include/mysql \
+ 		 --with-mysql-libraries=${LOCALBASE}/lib/mysql
+ .endif
  
  post-install:
  	${MKDIR} ${PREFIX}/share/snort

--r5Pyd7+fXNt84Ff3--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001003134048.A68307>