Date: Tue, 23 Nov 2004 11:16:26 +0200 From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> To: ports@FreeBSD.ORG Subject: setting PKGNAMESUFFIX after bsd.port.pre.mk illegal ? Message-ID: <20041123111626.64715e10@it.buh.tecnik93.com>
next in thread | raw e-mail | index | archive | help
Hi, Consider the following snippet after including bsd.port.pre.mk .if defined(WITH_MYSQL40) WANT_MYSQL_VER= 40 PKGNAMESUFFIX= -mysql40 .elseif defined(WITH_MYSQL41) WANT_MYSQL_VER= 41 PKGNAMESUFFIX= -mysql41 .endif The result is : # make rmconfig && make [ OPTIONS screen, disable default WITH_SQLITE and enable WITH_MYSQL40 ] make: don't know how to make /usr/ports/mail/dspam.my/work/.build_done.dspam-sqlite2-3.2.2.20041117.1515._usr_local. Stop *** Error code 2 After this if you do a `make install` again, or if the OPTIONS are already defined or if one does `make config && make install` the error does not happen. The port can be found at: http://people.tecnik93.com/~itetcu/FreeBSD/ports/dspam/port/dspam.3.2.2.20041117.1515.v2.tar.gz -- IOnut Unregistered ;) FreeBSD "user"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041123111626.64715e10>