| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: xpkgwedge.def,v 1.12 2004/07/31 01:42:06 xtraeme Exp $ */ | | 1 | /* $NetBSD: xpkgwedge.def,v 1.13 2010/06/06 03:45:17 dholland Exp $ */ |
2 | | | 2 | |
3 | #ifdef BeforeVendorCF | | 3 | #ifdef BeforeVendorCF |
4 | | | 4 | |
5 | /* | | 5 | /* |
6 | * OS-specific overrides for Interix to make it behave similarly to NetBSD | | 6 | * OS-specific overrides for Interix to make it behave similarly to NetBSD |
7 | * when creating binaries for pkgsrc. | | 7 | * when creating binaries for pkgsrc. |
8 | */ | | 8 | */ |
9 | #ifdef __INTERIX | | 9 | #ifdef __INTERIX |
10 | #undef ForceNormalLib /* this is always YES on Interix */ | | 10 | #undef ForceNormalLib /* this is always YES on Interix */ |
11 | #define NullMakeCommand @ true | | 11 | #define NullMakeCommand @ true |
12 | #define SharedLibraryLoadFlags -shared -Wl,-rpath,$(USRLIBDIRPATH) | | 12 | #define SharedLibraryLoadFlags -shared -Wl,-rpath,$(USRLIBDIRPATH) |
13 | | | 13 | |
14 | #ifdef UseInstalled | | 14 | #ifdef UseInstalled |
| @@ -111,14 +111,21 @@ InstallNamedTargetNoClobber(install,file | | | @@ -111,14 +111,21 @@ InstallNamedTargetNoClobber(install,file |
111 | #endif /* InstallAppDefaultsLong */ | | 111 | #endif /* InstallAppDefaultsLong */ |
112 | | | 112 | |
113 | #ifdef UseInstalled | | 113 | #ifdef UseInstalled |
114 | /* | | 114 | /* |
115 | * We need to redefine ImakeCmd so that imake will look in both | | 115 | * We need to redefine ImakeCmd so that imake will look in both |
116 | * $(PREFIX)/lib/X11/config and $(VIEWBASE)/lib/X11/config *before* | | 116 | * $(PREFIX)/lib/X11/config and $(VIEWBASE)/lib/X11/config *before* |
117 | * looking in the standard X11 config directory to override any | | 117 | * looking in the standard X11 config directory to override any |
118 | * configuration files installed there. | | 118 | * configuration files installed there. |
119 | */ | | 119 | */ |
120 | #undef ImakeCmd | | 120 | #undef ImakeCmd |
121 | #define ImakeCmd imake -I$(PREFIX)/lib/X11/config -I$(VIEWBASE)/lib/X11/config | | 121 | #define ImakeCmd imake -I$(PREFIX)/lib/X11/config -I$(VIEWBASE)/lib/X11/config |
122 | #endif | | 122 | #endif |
123 | | | 123 | |
| | | 124 | #ifdef __linux__ |
| | | 125 | #if LinuxDistribution == LinuxDebian |
| | | 126 | #undef ManPath |
| | | 127 | #define ManPath $(PREFIX)/man |
| | | 128 | #endif /* Debian */ |
| | | 129 | #endif /* __linux__ */ |
| | | 130 | |
124 | #endif /* AfterVendorCF */ | | 131 | #endif /* AfterVendorCF */ |