tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: symlinks in PKG_SYSCONFDIR



> I'm trying to write a pkgsrc Makefile for a package that installs symlinks 
> into PKG_SYSCONFDIR. How should this be handled?

Tell us a little more. Is this installed at installation time? Or later 
when the software runs?

I don't know of any examples of that in pkgsrc.


An example that could have symlinks is pkgsrc/fonts/fontconfig/ -- many of 
its example files are symlinks. But the package installation 
infrastructure just copies as file. For example:

tx:src$ ls -l /usr/pkg/etc/fontconfig/conf.d/69-unifont.conf    
-rw-r--r--  1 root  wheel  454 Dec  1 11:03 
/usr/pkg/etc/fontconfig/conf.d/69-unifont.conf

tx:src$ ls -l /usr/pkg/share/examples/fontconfig/conf.d/69-unifont.conf 
lrwxr-xr-x  1 root  wheel  29 Dec  1 11:03 
/usr/pkg/share/examples/fontconfig/conf.d/69-unifont.conf -> 
../conf.avail/69-unifont.conf


Home | Main Index | Thread Index | Old Index