setting PKGNAMESUFFIX after bsd.port.pre.mk illegal ?

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Tue Nov 23 01:16:30 PST 2004


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"




More information about the freebsd-ports mailing list